Index: src/fast-codegen.cc |
=================================================================== |
--- src/fast-codegen.cc (revision 3073) |
+++ src/fast-codegen.cc (working copy) |
@@ -167,6 +167,9 @@ |
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); |
} |