Mercurial > hg > truffle
comparison src/share/vm/code/compiledIC.cpp @ 2891:75a99b4f1c98
Rebranded C++ part from C1X to Graal.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 08 Jun 2011 14:01:51 +0200 |
parents | 0654ee04b214 |
children | 723df37192d6 |
comparison
equal
deleted
inserted
replaced
2890:c23d45daff9b | 2891:75a99b4f1c98 |
---|---|
527 | 527 |
528 NativeMovConstReg* method_holder = nativeMovConstReg_at(stub); // creation also verifies the object | 528 NativeMovConstReg* method_holder = nativeMovConstReg_at(stub); // creation also verifies the object |
529 NativeJump* jump = nativeJump_at(method_holder->next_instruction_address()); | 529 NativeJump* jump = nativeJump_at(method_holder->next_instruction_address()); |
530 | 530 |
531 assert(method_holder->data() == 0 || method_holder->data() == (intptr_t)callee(), "a) MT-unsafe modification of inline cache"); | 531 assert(method_holder->data() == 0 || method_holder->data() == (intptr_t)callee(), "a) MT-unsafe modification of inline cache"); |
532 assert(UseC1X || jump->jump_destination() == (address)-1 || jump->jump_destination() == entry, "b) MT-unsafe modification of inline cache"); | 532 assert(UseGraal || jump->jump_destination() == (address)-1 || jump->jump_destination() == entry, "b) MT-unsafe modification of inline cache"); |
533 | 533 |
534 // Update stub | 534 // Update stub |
535 method_holder->set_data((intptr_t)callee()); | 535 method_holder->set_data((intptr_t)callee()); |
536 jump->set_jump_destination(entry); | 536 jump->set_jump_destination(entry); |
537 | 537 |