Reviewers: Lasse Reichstein,

Message:
A tiny tiny review for you

Description:
X64: Fix bug that showed up in mjsunit/invalid-lhs.js

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

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

Affected files:
   M     src/x64/codegen-x64.cc
   M     test/mjsunit/mjsunit.status


Index: test/mjsunit/mjsunit.status
===================================================================
--- test/mjsunit/mjsunit.status (revision 2560)
+++ test/mjsunit/mjsunit.status (working copy)
@@ -92,7 +92,6 @@
  debug-setbreakpoint: CRASH || FAIL
  debug-step-stub-callfunction: CRASH || FAIL
  debug-step: CRASH || FAIL
-invalid-lhs: PASS || CRASH || FAIL
  debug-stepin-constructor: CRASH || FAIL
  debug-stepin-function-call: CRASH || FAIL
  debug-stepin-accessor: CRASH || FAIL
Index: src/x64/codegen-x64.cc
===================================================================
--- src/x64/codegen-x64.cc      (revision 2560)
+++ src/x64/codegen-x64.cc      (working copy)
@@ -3728,7 +3728,7 @@
    } else {
      // Anything else is a runtime error.
      Load(e);
-    // frame_->CallRuntime(Runtime::kThrowReferenceError, 1);
+    frame_->CallRuntime(Runtime::kThrowReferenceError, 1);
    }

    in_spilled_code_ = was_in_spilled_code;



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

Reply via email to