Index: src/builtins/builtins-object.cc |
diff --git a/src/builtins/builtins-object.cc b/src/builtins/builtins-object.cc |
index 668a54b50cb1dba4e25cec9b6f49df5d074bc218..af5a42aa64e4e79781226d545d8ed20c630e58c4 100644 |
--- a/src/builtins/builtins-object.cc |
+++ b/src/builtins/builtins-object.cc |
@@ -310,17 +310,6 @@ |
} |
} |
-// ES6 19.3.7 Object.prototype.valueOf |
-TF_BUILTIN(ObjectPrototypeValueOf, CodeStubAssembler) { |
- Node* receiver = Parameter(0); |
- Node* context = Parameter(3); |
- |
- Callable to_object = CodeFactory::ToObject(isolate()); |
- receiver = CallStub(to_object, context, receiver); |
- |
- Return(receiver); |
-} |
- |
TF_BUILTIN(ObjectCreate, ObjectBuiltinsAssembler) { |
Node* prototype = Parameter(1); |
Node* properties = Parameter(2); |