Mercurial > hg > truffle
comparison src/share/vm/runtime/sharedRuntime.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 | b1b58f908044 |
children | 5ee0f57bb18c |
comparison
equal
deleted
inserted
replaced
2890:c23d45daff9b | 2891:75a99b4f1c98 |
---|---|
783 } | 783 } |
784 | 784 |
785 #ifndef PRODUCT | 785 #ifndef PRODUCT |
786 _implicit_null_throws++; | 786 _implicit_null_throws++; |
787 #endif | 787 #endif |
788 if (UseC1X) { | 788 if (UseGraal) { |
789 target_pc = deoptimization_continuation(thread, pc, nm); | 789 target_pc = deoptimization_continuation(thread, pc, nm); |
790 } else { | 790 } else { |
791 target_pc = nm->continuation_for_implicit_exception(pc); | 791 target_pc = nm->continuation_for_implicit_exception(pc); |
792 } | 792 } |
793 // If there's an unexpected fault, target_pc might be NULL, | 793 // If there's an unexpected fault, target_pc might be NULL, |
803 nmethod* nm = CodeCache::find_nmethod(pc); | 803 nmethod* nm = CodeCache::find_nmethod(pc); |
804 guarantee(nm != NULL, "must have containing nmethod for implicit division-by-zero exceptions"); | 804 guarantee(nm != NULL, "must have containing nmethod for implicit division-by-zero exceptions"); |
805 #ifndef PRODUCT | 805 #ifndef PRODUCT |
806 _implicit_div0_throws++; | 806 _implicit_div0_throws++; |
807 #endif | 807 #endif |
808 if (UseC1X) { | 808 if (UseGraal) { |
809 if (TraceSignals) { | 809 if (TraceSignals) { |
810 tty->print_cr("c1x implicit div0"); | 810 tty->print_cr("graal implicit div0"); |
811 } | 811 } |
812 target_pc = deoptimization_continuation(thread, pc, nm); | 812 target_pc = deoptimization_continuation(thread, pc, nm); |
813 } else { | 813 } else { |
814 target_pc = nm->continuation_for_implicit_exception(pc); | 814 target_pc = nm->continuation_for_implicit_exception(pc); |
815 } | 815 } |