Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 959dec418ea393f3ed7cf66e2bbb35eed3cf2500..3490af64434af46d4ee790d9bc278075f5ce608c 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -679,6 +679,13 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CreateArrayLiteralShallow) { |
} |
+RUNTIME_FUNCTION(MaybeObject*, Runtime_CreateSymbol) { |
+ NoHandleAllocation ha; |
+ ASSERT(args.length() == 0); |
+ return isolate->heap()->AllocateSymbol(); |
+} |
+ |
+ |
RUNTIME_FUNCTION(MaybeObject*, Runtime_CreateJSProxy) { |
ASSERT(args.length() == 2); |
CONVERT_ARG_CHECKED(JSReceiver, handler, 0); |