Revision: 3182
Author: [email protected]
Date: Fri Oct 30 02:57:08 2009
Log: Fix thinko in assertion.

[email protected]

Review URL: http://codereview.chromium.org/343055
http://code.google.com/p/v8/source/detail?r=3182

Modified:
  /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc       Fri Oct 30  
01:36:46 2009
+++ /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc       Fri Oct 30  
02:57:08 2009
@@ -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