Index: src/builtins/builtins.h |
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h |
index d370e936907623c6587aad3351bfcf4146884b28..db6ba64198c6a31a31d2dfbb4eb2368a87432bec 100644 |
--- a/src/builtins/builtins.h |
+++ b/src/builtins/builtins.h |
@@ -224,6 +224,14 @@ namespace internal { |
CPP(ArraySlice) \ |
CPP(ArraySplice) \ |
CPP(ArrayUnshift) \ |
+ /* ES6 #sec-array.prototype.entries */ \ |
+ TFJ(ArrayPrototypeEntries, 1) \ |
+ /* ES6 #sec-array.prototype.keys */ \ |
+ TFJ(ArrayPrototypeKeys, 1) \ |
+ /* ES6 #sec-array.prototype.values */ \ |
+ TFJ(ArrayPrototypeValues, 1) \ |
+ /* ES6 #sec-%arrayiteratorprototype%.next */ \ |
+ TFJ(ArrayIteratorPrototypeNext, 1) \ |
\ |
/* ArrayBuffer */ \ |
CPP(ArrayBufferConstructor) \ |
@@ -665,7 +673,13 @@ namespace internal { |
/* ES6 section 22.2.3.3 get %TypedArray%.prototype.byteOffset */ \ |
TFJ(TypedArrayPrototypeByteOffset, 1) \ |
/* ES6 section 22.2.3.18 get %TypedArray%.prototype.length */ \ |
- TFJ(TypedArrayPrototypeLength, 1) |
+ TFJ(TypedArrayPrototypeLength, 1) \ |
+ /* ES6 #sec-%typedarray%.prototype.entries */ \ |
+ TFJ(TypedArrayPrototypeEntries, 1) \ |
+ /* ES6 #sec-%typedarray%.prototype.keys */ \ |
+ TFJ(TypedArrayPrototypeKeys, 1) \ |
+ /* ES6 #sec-%typedarray%.prototype.values */ \ |
+ TFJ(TypedArrayPrototypeValues, 1) |
#define IGNORE_BUILTIN(...) |