Index: src/runtime/runtime-internal.cc |
diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc |
index acaaeff3f820c74b60f1e207ee74497e17a25c2c..b6176974909d5937e9da0d030a6f74177e395167 100644 |
--- a/src/runtime/runtime-internal.cc |
+++ b/src/runtime/runtime-internal.cc |
@@ -342,5 +342,11 @@ RUNTIME_FUNCTION(Runtime_Unlikely) { |
DCHECK(args.length() == 1); |
return args[0]; |
} |
+ |
+ |
+RUNTIME_FUNCTION(Runtime_HarmonyToString) { |
+ // TODO(caitp): Delete this runtime method when removing --harmony-tostring |
+ return isolate->heap()->ToBoolean(FLAG_harmony_tostring); |
+} |
} |
} // namespace v8::internal |