Index: src/arm/fast-codegen-arm.cc |
=================================================================== |
--- src/arm/fast-codegen-arm.cc (revision 3428) |
+++ src/arm/fast-codegen-arm.cc (working copy) |
@@ -1676,7 +1676,12 @@ |
// Convert current context to test context: End post-test code. |
} |
+void FastCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
+ __ ldr(r0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
+ Move(expr->context(), r0); |
+} |
+ |
#undef __ |