hotspot/src/cpu/sparc/vm/cppInterpreter_sparc.cpp
changeset 8676 9098d4e927e1
parent 7397 5b173b4ca846
child 9176 42d9d1010f38
child 8883 5569135acca3
equal deleted inserted replaced
8675:e9fef2a9bef7 8676:9098d4e927e1
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  1186 
  1186 
  1187   __ sub(O2, wordSize, O2);                    // prepush
  1187   __ sub(O2, wordSize, O2);                    // prepush
  1188   __ st_ptr(O2, XXX_STATE(_stack));                // PREPUSH
  1188   __ st_ptr(O2, XXX_STATE(_stack));                // PREPUSH
  1189 
  1189 
  1190   __ lduh(max_stack, O3);                      // Full size expression stack
  1190   __ lduh(max_stack, O3);                      // Full size expression stack
  1191   guarantee(!EnableMethodHandles, "no support yet for java.dyn.MethodHandle"); //6815692
  1191   guarantee(!EnableMethodHandles, "no support yet for java.lang.invoke.MethodHandle"); //6815692
  1192   //6815692//if (EnableMethodHandles)
  1192   //6815692//if (EnableMethodHandles)
  1193   //6815692//  __ inc(O3, methodOopDesc::extra_stack_entries());
  1193   //6815692//  __ inc(O3, methodOopDesc::extra_stack_entries());
  1194   __ sll(O3, LogBytesPerWord, O3);
  1194   __ sll(O3, LogBytesPerWord, O3);
  1195   __ sub(O2, O3, O3);
  1195   __ sub(O2, O3, O3);
  1196 //  __ sub(O3, wordSize, O3);                    // so prepush doesn't look out of bounds
  1196 //  __ sub(O3, wordSize, O3);                    // so prepush doesn't look out of bounds