Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index bf0bdebeb4327a1ec626676b257d269a64e67abb..25c7094dcef0470f721d088311c930e1849055db 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -1869,7 +1869,7 @@ void BytecodeGenerator::VisitEmptyParentheses(EmptyParentheses* expr) { |
void BytecodeGenerator::VisitThisFunction(ThisFunction* expr) { |
- UNIMPLEMENTED(); |
+ execution_result()->SetResultInRegister(Register::function_closure()); |
} |