Mercurial > hg > truffle
comparison src/cpu/x86/vm/interpreter_x86_64.cpp @ 14676:d3f14809b051
8036146: make CPP interpreter build again
Summary: fix build of CPP interpreter on x86 and sparc
Reviewed-by: kvn
author | roland |
---|---|
date | Wed, 05 Mar 2014 15:14:25 +0100 |
parents | cd3d6a6b95d9 |
children | 92aa6797d639 |
comparison
equal
deleted
inserted
replaced
14675:bb4db06fd36f | 14676:d3f14809b051 |
---|---|
308 | 308 |
309 address entry_point = __ pc(); | 309 address entry_point = __ pc(); |
310 | 310 |
311 // abstract method entry | 311 // abstract method entry |
312 | 312 |
313 #ifndef CC_INTERP | |
313 // pop return address, reset last_sp to NULL | 314 // pop return address, reset last_sp to NULL |
314 __ empty_expression_stack(); | 315 __ empty_expression_stack(); |
315 __ restore_bcp(); // rsi must be correct for exception handler (was destroyed) | 316 __ restore_bcp(); // rsi must be correct for exception handler (was destroyed) |
316 __ restore_locals(); // make sure locals pointer is correct as well (was destroyed) | 317 __ restore_locals(); // make sure locals pointer is correct as well (was destroyed) |
318 #endif | |
317 | 319 |
318 // throw exception | 320 // throw exception |
319 __ call_VM(noreg, CAST_FROM_FN_PTR(address, | 321 __ call_VM(noreg, CAST_FROM_FN_PTR(address, |
320 InterpreterRuntime::throw_AbstractMethodError)); | 322 InterpreterRuntime::throw_AbstractMethodError)); |
321 // the call_VM checks for exception, so we should never return here. | 323 // the call_VM checks for exception, so we should never return here. |