comparison src/cpu/sparc/vm/cppInterpreter_sparc.cpp @ 2357:8033953d67ff

7012648: move JSR 292 to package java.lang.invoke and adjust names Summary: package and class renaming only; delete unused methods and classes Reviewed-by: twisti
author jrose
date Fri, 11 Mar 2011 22:34:57 -0800
parents f95d63e2154a
children 38fea01eb669 e1162778c1c8
comparison
equal deleted inserted replaced
2356:72dee110246f 2357:8033953d67ff
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