Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/interpreter.cpp @ 7125:1baf7f1e3f23
decoupled C++ Graal runtime from C1
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 03 Dec 2012 15:32:17 +0100 |
parents | 7d815d842ee0 |
children | 5d0bb7d52783 |
comparison
equal
deleted
inserted
replaced
7124:ab65fa23f8e9 | 7125:1baf7f1e3f23 |
---|---|
383 // Note: Bytecodes::_athrow is a special case in that it does not return | 383 // Note: Bytecodes::_athrow is a special case in that it does not return |
384 // Interpreter::deopt_entry(vtos, 0) like others | 384 // Interpreter::deopt_entry(vtos, 0) like others |
385 address AbstractInterpreter::deopt_reexecute_entry(Method* method, address bcp) { | 385 address AbstractInterpreter::deopt_reexecute_entry(Method* method, address bcp) { |
386 assert(method->contains(bcp), "just checkin'"); | 386 assert(method->contains(bcp), "just checkin'"); |
387 Bytecodes::Code code = Bytecodes::java_code_at(method, bcp); | 387 Bytecodes::Code code = Bytecodes::java_code_at(method, bcp); |
388 #ifdef COMPILER1 | 388 #if defined(COMPILER1) || defined(GRAAL) |
389 | |
389 if(code == Bytecodes::_athrow ) { | 390 if(code == Bytecodes::_athrow ) { |
390 return Interpreter::rethrow_exception_entry(); | 391 return Interpreter::rethrow_exception_entry(); |
391 } | 392 } |
392 #endif /* COMPILER1 */ | 393 #endif /* COMPILER1 */ |
393 return Interpreter::deopt_entry(vtos, 0); | 394 return Interpreter::deopt_entry(vtos, 0); |
449 case Bytecodes::_getfield : | 450 case Bytecodes::_getfield : |
450 case Bytecodes::_putfield : | 451 case Bytecodes::_putfield : |
451 case Bytecodes::_getstatic : | 452 case Bytecodes::_getstatic : |
452 case Bytecodes::_putstatic : | 453 case Bytecodes::_putstatic : |
453 case Bytecodes::_aastore : | 454 case Bytecodes::_aastore : |
454 #ifdef COMPILER1 | 455 #if defined(COMPILER1) || defined(GRAAL) |
456 | |
455 //special case of reexecution | 457 //special case of reexecution |
456 case Bytecodes::_athrow : | 458 case Bytecodes::_athrow : |
457 #endif | 459 #endif |
458 return true; | 460 return true; |
459 | 461 |