Revision: 11628
Author: [email protected]
Date: Wed May 23 00:41:58 2012
Log: Fix two call to masm->CallStub on x64: should pass ASTId.
Review URL: https://chromiumcodereview.appspot.com/10383278
http://code.google.com/p/v8/source/detail?r=11628
Modified:
/branches/bleeding_edge/src/x64/full-codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/full-codegen-x64.cc Thu May 17 13:53:32
2012
+++ /branches/bleeding_edge/src/x64/full-codegen-x64.cc Wed May 23 00:41:58
2012
@@ -659,7 +659,7 @@
Label* fall_through) {
ToBooleanStub stub(result_register());
__ push(result_register());
- __ CallStub(&stub);
+ __ CallStub(&stub, condition->test_id());
__ testq(result_register(), result_register());
// The stub returns nonzero for true.
Split(not_zero, if_true, if_false, fall_through);
@@ -2287,7 +2287,7 @@
CallFunctionStub stub(arg_count, flags);
__ movq(rdi, Operand(rsp, (arg_count + 1) * kPointerSize));
- __ CallStub(&stub);
+ __ CallStub(&stub, expr->id());
RecordJSReturnSite(expr);
// Restore context register.
__ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev