Index: src/builtins.h |
diff --git a/src/builtins.h b/src/builtins.h |
index 6554c34d3ff750836cf96a97c739ef381e36e36c..0bb6a23cae5a8d4354c9e1957a5844bf5a49fc59 100644 |
--- a/src/builtins.h |
+++ b/src/builtins.h |
@@ -134,7 +134,6 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) { |
V(ObjectGetOwnPropertyDescriptor, kNone) \ |
V(ObjectGetOwnPropertyNames, kNone) \ |
V(ObjectGetOwnPropertySymbols, kNone) \ |
- V(ObjectHasOwnProperty, kNone) \ |
V(ObjectIs, kNone) \ |
V(ObjectIsExtensible, kNone) \ |
V(ObjectIsFrozen, kNone) \ |
@@ -309,7 +308,8 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) { |
// Define list of builtins implemented in TurboFan (with JS linkage). |
#define BUILTIN_LIST_T(V) \ |
V(MathFloor, 2) \ |
- V(MathSqrt, 2) |
+ V(MathSqrt, 2) \ |
+ V(ObjectHasOwnProperty, 2) |
// Define list of builtin handlers implemented in assembly. |
#define BUILTIN_LIST_H(V) \ |
@@ -602,6 +602,10 @@ class Builtins { |
// ES6 section 20.1.1.1 Number ( [ value ] ) for the [[Construct]] case. |
static void Generate_NumberConstructor_ConstructStub(MacroAssembler* masm); |
+ // ES6 section 19.1.3.2 Object.prototype.hasOwnProperty |
+ static void Generate_ObjectHasOwnProperty( |
+ compiler::CodeStubAssembler* assembler); |
+ |
static void Generate_StringConstructor(MacroAssembler* masm); |
static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm); |
static void Generate_OnStackReplacement(MacroAssembler* masm); |