Mercurial > hg > truffle
comparison src/share/vm/code/compiledIC.cpp @ 4559:723df37192d6
Make it possible again to build a real client libjvm, drop the UseGraal flag.
Use the --vm option instead of a special -vm option in the bench command
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 10 Feb 2012 17:04:03 +0100 |
parents | 75a99b4f1c98 |
children | 33df1aeaebbf |
comparison
equal
deleted
inserted
replaced
4558:3706975946e4 | 4559:723df37192d6 |
---|---|
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(UseGraal || jump->jump_destination() == (address)-1 || jump->jump_destination() == entry, "b) MT-unsafe modification of inline cache"); | 532 // XXX GRAAL : ?? |
533 #ifndef GRAAL | |
534 assert(jump->jump_destination() == (address)-1 || jump->jump_destination() == entry, "b) MT-unsafe modification of inline cache"); | |
535 #endif | |
533 | 536 |
534 // Update stub | 537 // Update stub |
535 method_holder->set_data((intptr_t)callee()); | 538 method_holder->set_data((intptr_t)callee()); |
536 jump->set_jump_destination(entry); | 539 jump->set_jump_destination(entry); |
537 | 540 |