Index: src/builtins.h |
diff --git a/src/builtins.h b/src/builtins.h |
index 214c8c90e16b5036ae5d3160e32a417f17b40a0b..8ca21ceeb4d6a9e9b68d3049c52a1e059940b32c 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) \ |
@@ -312,7 +311,8 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) { |
V(MathFloor, 2) \ |
V(MathRound, 2) \ |
V(MathSqrt, 2) \ |
- V(MathTrunc, 2) |
+ V(MathTrunc, 2) \ |
+ V(ObjectHasOwnProperty, 2) |
// Define list of builtin handlers implemented in assembly. |
#define BUILTIN_LIST_H(V) \ |
@@ -611,6 +611,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); |