Reviewers: Lasse Reichstein,

Message:
Tiny review for you.

Description:
X64: Use 64-bit pointers in exec stub.

Please review this at http://codereview.chromium.org/155086

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/x64/codegen-x64.cc


Index: src/x64/codegen-x64.cc
===================================================================
--- src/x64/codegen-x64.cc      (revision 2363)
+++ src/x64/codegen-x64.cc      (working copy)
@@ -2459,13 +2459,13 @@
    // receiver.  Use a scratch register to avoid destroying the result.
    Result scratch = allocator_->Allocate();
    ASSERT(scratch.is_valid());
-  __ movl(scratch.reg(),
+  __ movq(scratch.reg(),
            FieldOperand(result.reg(), FixedArray::OffsetOfElementAt(0)));
    frame_->SetElementAt(arg_count + 1, &scratch);

    // We can reuse the result register now.
    frame_->Spill(result.reg());
-  __ movl(result.reg(),
+  __ movq(result.reg(),
            FieldOperand(result.reg(), FixedArray::OffsetOfElementAt(1)));
    frame_->SetElementAt(arg_count, &result);




--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to