Index: src/runtime/runtime.cc |
diff --git a/src/runtime/runtime.cc b/src/runtime/runtime.cc |
index cf050d33698a576dd675108265687468f28d134f..4851fed599f3ae32137f08b8f913bd8c3c55dcb2 100644 |
--- a/src/runtime/runtime.cc |
+++ b/src/runtime/runtime.cc |
@@ -464,7 +464,7 @@ MaybeHandle<Object> Runtime::GetElementOrCharAt(Isolate* isolate, |
MUST_USE_RESULT |
Igor Sheludko
2014/10/02 09:32:06
Remove MUST_USE_RESULT as it is already in the .h
Dmitry Lomov (no reviews)
2014/10/02 09:54:12
Done.
|
-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 +1742,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); |