| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 77209cacb6a3e180f53472565043a3bdd2b4770b..ae062c06a71de157ee486030277ef5a6baed0348 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6287,6 +6287,8 @@ class Map: public HeapObject {
|
|
|
| Code* LookupInCodeCache(Name* name, Code::Flags code);
|
|
|
| + static Handle<Map> GetObjectCreateMap(Handle<HeapObject> prototype);
|
| +
|
| // Computes a hash value for this map, to be used in HashTables and such.
|
| int Hash();
|
|
|
| @@ -6311,6 +6313,8 @@ class Map: public HeapObject {
|
| inline bool IsJSTypedArrayMap();
|
| inline bool IsJSDataViewMap();
|
|
|
| + inline bool IsSpecialReceiverMap();
|
| +
|
| inline bool CanOmitMapChecks();
|
|
|
| static void AddDependentCode(Handle<Map> map,
|
| @@ -7094,7 +7098,8 @@ class Script: public Struct {
|
| V(Number, isSafeInteger, NumberIsSafeInteger) \
|
| V(Number, parseFloat, NumberParseFloat) \
|
| V(Number, parseInt, NumberParseInt) \
|
| - V(Number.prototype, toString, NumberToString)
|
| + V(Number.prototype, toString, NumberToString) \
|
| + V(Object, create, ObjectCreate)
|
|
|
| #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
|
| V(Atomics, load, AtomicsLoad) \
|
|
|