Commit e7f92768 authored by Mathias Bynens's avatar Mathias Bynens Committed by Commit Bot

[runtime] Remove dead code in Runtime_ToObject

BUG=v8:6921

Change-Id: I8facfcc3ecef094843a86789d3aea75ff6b04b16
Reviewed-on: https://chromium-review.googlesource.com/731382Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48802}
parent 86832486
...@@ -1038,15 +1038,12 @@ RUNTIME_FUNCTION(Runtime_DefineSetterPropertyUnchecked) { ...@@ -1038,15 +1038,12 @@ RUNTIME_FUNCTION(Runtime_DefineSetterPropertyUnchecked) {
return isolate->heap()->undefined_value(); return isolate->heap()->undefined_value();
} }
RUNTIME_FUNCTION(Runtime_ToObject) { RUNTIME_FUNCTION(Runtime_ToObject) {
HandleScope scope(isolate); // Runtime call is implemented in InterpreterIntrinsics and lowered in
DCHECK_EQ(1, args.length()); // JSIntrinsicLowering.
CONVERT_ARG_HANDLE_CHECKED(Object, object, 0); UNREACHABLE();
RETURN_RESULT_OR_FAILURE(isolate, Object::ToObject(isolate, object));
} }
RUNTIME_FUNCTION(Runtime_ToPrimitive) { RUNTIME_FUNCTION(Runtime_ToPrimitive) {
HandleScope scope(isolate); HandleScope scope(isolate);
DCHECK_EQ(1, args.length()); DCHECK_EQ(1, args.length());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment