Reviewers: Michael Starzinger, Sven Panne, rossberg, Message: Could you please review this patch? Thanks.
Zheng Liu [email protected] Description: Fix two call to masm->CallStub on x64: should pass ASTId. Please review this at http://codereview.chromium.org/10383278/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/x64/full-codegen-x64.cc Index: src/x64/full-codegen-x64.cc =================================================================== --- src/x64/full-codegen-x64.cc (revision 11620) +++ src/x64/full-codegen-x64.cc (working copy) @@ -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
