Mercurial > hg > truffle
comparison src/cpu/sparc/vm/cppInterpreter_sparc.cpp @ 2416:38fea01eb669
6817525: turn on method handle functionality by default for JSR 292
Summary: After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
Reviewed-by: never, kvn, jrose, phh
author | twisti |
---|---|
date | Thu, 31 Mar 2011 02:31:57 -0700 |
parents | 8033953d67ff |
children | 92add02409c9 |
comparison
equal
deleted
inserted
replaced
2415:09f96c3ff1ad | 2416:38fea01eb669 |
---|---|
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.lang.invoke.MethodHandle"); //6815692 | 1191 guarantee(!EnableInvokeDynamic, "no support yet for java.lang.invoke.MethodHandle"); //6815692 |
1192 //6815692//if (EnableMethodHandles) | 1192 //6815692//if (EnableInvokeDynamic) |
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 |
1197 __ st_ptr(O3, XXX_STATE(_stack_limit)); | 1197 __ st_ptr(O3, XXX_STATE(_stack_limit)); |