Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 22b0a03c6ac70e0776431ade122e6244d1a15a59..9b39b597b5e464719a3b0b3803c2749fbc8b943c 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -56,6 +56,7 @@ class CodeGenSelector: public AstVisitor { |
private: |
// Visit an expression in a given expression context. |
void ProcessExpression(Expression* expr, Expression::Context context) { |
+ ASSERT_EQ(Expression::kUninitialized, expr->context()); |
Kevin Millikin (Chromium)
2009/12/08 09:35:54
As we discussed, change this to
ASSERT(expr->cont
|
Expression::Context saved = context_; |
context_ = context; |
Visit(expr); |