Reviewers: William Hesse,

Description:
Fix thinko in assertion.

[email protected]


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

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

Affected files:
   M     src/ia32/fast-codegen-ia32.cc


Index: src/ia32/fast-codegen-ia32.cc
===================================================================
--- src/ia32/fast-codegen-ia32.cc       (revision 3181)
+++ src/ia32/fast-codegen-ia32.cc       (working copy)
@@ -647,7 +647,7 @@
  void FastCodeGenerator::VisitBinaryOperation(BinaryOperation* expr) {
    switch (expr->op()) {
      case Token::COMMA:
-      ASSERT_EQ(Expression::kValue, expr->left()->context());
+      ASSERT_EQ(Expression::kEffect, expr->left()->context());
        ASSERT_EQ(expr->context(), expr->right()->context());
        Visit(expr->left());
        Visit(expr->right());



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

Reply via email to