Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index cb8f4aafcd9cd7274f032f14505f5dd028725252..ec674ff3db6b368fb410f081de2a3dd023185144 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -1211,6 +1211,13 @@ void FullCodeGenerator::EmitUnwindBeforeReturn() { |
} |
+void FullCodeGenerator::EmitPropertyKey(ObjectLiteralProperty* property) { |
+ VisitForStackValue(property->key()); |
+ __ InvokeBuiltin(Builtins::TO_NAME, CALL_FUNCTION); |
+ __ Push(result_register()); |
+} |
+ |
+ |
void FullCodeGenerator::VisitReturnStatement(ReturnStatement* stmt) { |
Comment cmnt(masm_, "[ ReturnStatement"); |
SetStatementPosition(stmt); |