Mercurial > hg > truffle
comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 3509:28ba2439034f
recompile upon deoptimizations that are caused by runtime exceptions
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Mon, 08 Aug 2011 18:24:21 +0200 |
parents | be4ca325525a |
children | 04b9a2566eec |
comparison
equal
deleted
inserted
replaced
3508:8dbbef133869 | 3509:28ba2439034f |
---|---|
2640 // (tw) Start of graal uncommon trap code. | 2640 // (tw) Start of graal uncommon trap code. |
2641 __ jmp(cont); | 2641 __ jmp(cont); |
2642 | 2642 |
2643 int jmp_uncommon_trap_offset = __ pc() - start; | 2643 int jmp_uncommon_trap_offset = __ pc() - start; |
2644 __ pushptr(Address(r15_thread, in_bytes(JavaThread::ScratchA_offset()))); | 2644 __ pushptr(Address(r15_thread, in_bytes(JavaThread::ScratchA_offset()))); |
2645 __ movptr(rscratch1, 0); | 2645 __ movptr(rscratch1, 2); // InvalidateRecompile |
2646 | 2646 |
2647 int uncommon_trap_offset = __ pc() - start; | 2647 int uncommon_trap_offset = __ pc() - start; |
2648 | 2648 |
2649 // Warning: Duplicate code | 2649 // Warning: Duplicate code |
2650 | 2650 |