Index: src/runtime/runtime.cc |
diff --git a/src/runtime/runtime.cc b/src/runtime/runtime.cc |
index cf050d33698a576dd675108265687468f28d134f..837f689c223d88d71e84316aff6a8668ccac2638 100644 |
--- a/src/runtime/runtime.cc |
+++ b/src/runtime/runtime.cc |
@@ -463,8 +463,7 @@ MaybeHandle<Object> Runtime::GetElementOrCharAt(Isolate* isolate, |
} |
-MUST_USE_RESULT |
-static MaybeHandle<Name> ToName(Isolate* isolate, Handle<Object> key) { |
+MaybeHandle<Name> Runtime::ToName(Isolate* isolate, Handle<Object> key) { |
if (key->IsName()) { |
return Handle<Name>::cast(key); |
} else { |
@@ -1742,23 +1741,6 @@ RUNTIME_FUNCTION(Runtime_ThrowReferenceError) { |
} |
-RUNTIME_FUNCTION(Runtime_ThrowNonMethodError) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 0); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewReferenceError("non_method", HandleVector<Object>(NULL, 0))); |
-} |
- |
- |
-RUNTIME_FUNCTION(Runtime_ThrowUnsupportedSuperError) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 0); |
- THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, |
- NewReferenceError("unsupported_super", HandleVector<Object>(NULL, 0))); |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_PromiseRejectEvent) { |
DCHECK(args.length() == 3); |
HandleScope scope(isolate); |