Index: src/fast-codegen.cc |
=================================================================== |
--- src/fast-codegen.cc (revision 3077) |
+++ src/fast-codegen.cc (working copy) |
@@ -190,14 +190,9 @@ |
} |
-void FastCodeGenerator::VisitVariableProxy(VariableProxy* expr) { |
- Comment cmnt(masm_, "[ VariableProxy"); |
- Expression* rewrite = expr->var()->rewrite(); |
- ASSERT(rewrite != NULL); |
- |
- // Forward to the proxy's rewrite. |
- rewrite->set_location(expr->location()); |
- Visit(rewrite); |
+void FastCodeGenerator::VisitSlot(Slot* expr) { |
+ // Slots do not appear directly in the AST. |
+ UNREACHABLE(); |
} |