Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/templateInterpreter_x86_64.cpp @ 24131:0e0a4ebf09d7
set_method_data_pointer_for_bcp must be guarded by ProfileInterpreter
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Wed, 19 Apr 2017 09:00:56 -0700 |
parents | a5a2ac8dfaba |
children |
comparison
equal
deleted
inserted
replaced
24130:0386b21ed2b3 | 24131:0e0a4ebf09d7 |
---|---|
411 CAST_FROM_FN_PTR(address, | 411 CAST_FROM_FN_PTR(address, |
412 InterpreterRuntime::frequency_counter_overflow), | 412 InterpreterRuntime::frequency_counter_overflow), |
413 c_rarg1); | 413 c_rarg1); |
414 | 414 |
415 __ movptr(rbx, Address(rbp, method_offset)); // restore Method* | 415 __ movptr(rbx, Address(rbp, method_offset)); // restore Method* |
416 __ set_method_data_pointer_for_bcp(); | 416 if (ProfileInterpreter) { |
417 __ set_method_data_pointer_for_bcp(); | |
418 } | |
417 // Preserve invariant that r13/r14 contain bcp/locals of sender frame | 419 // Preserve invariant that r13/r14 contain bcp/locals of sender frame |
418 // and jump to the interpreted entry. | 420 // and jump to the interpreted entry. |
419 __ jmp(*do_continue, relocInfo::none); | 421 __ jmp(*do_continue, relocInfo::none); |
420 } | 422 } |
421 | 423 |