| Index: vm/flow_graph_compiler_x64.cc
|
| ===================================================================
|
| --- vm/flow_graph_compiler_x64.cc (revision 7829)
|
| +++ vm/flow_graph_compiler_x64.cc (working copy)
|
| @@ -1286,8 +1286,7 @@
|
|
|
|
|
| void FlowGraphCompiler::VisitThrow(ThrowInstr* instr) {
|
| - LoadValue(RAX, instr->exception());
|
| - __ pushq(RAX);
|
| + ASSERT(instr->exception()->IsUse());
|
| GenerateCallRuntime(instr->cid(),
|
| instr->token_index(),
|
| instr->try_index(),
|
| @@ -1297,10 +1296,8 @@
|
|
|
|
|
| void FlowGraphCompiler::VisitReThrow(ReThrowInstr* instr) {
|
| - LoadValue(RAX, instr->exception());
|
| - __ pushq(RAX);
|
| - LoadValue(RAX, instr->stack_trace());
|
| - __ pushq(RAX);
|
| + ASSERT(instr->exception()->IsUse());
|
| + ASSERT(instr->stack_trace()->IsUse());
|
| GenerateCallRuntime(instr->cid(),
|
| instr->token_index(),
|
| instr->try_index(),
|
|
|