Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: src/builtins/builtins.h

Issue 2405253006: [builtins] implement Array.prototype[@@iterator] in TFJ builtins (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 TFJ(ArrayIsArray, 2) \ 217 TFJ(ArrayIsArray, 2) \
218 /* ES7 #sec-array.prototype.includes */ \ 218 /* ES7 #sec-array.prototype.includes */ \
219 TFJ(ArrayIncludes, 3) \ 219 TFJ(ArrayIncludes, 3) \
220 TFJ(ArrayIndexOf, 3) \ 220 TFJ(ArrayIndexOf, 3) \
221 CPP(ArrayPop) \ 221 CPP(ArrayPop) \
222 CPP(ArrayPush) \ 222 CPP(ArrayPush) \
223 CPP(ArrayShift) \ 223 CPP(ArrayShift) \
224 CPP(ArraySlice) \ 224 CPP(ArraySlice) \
225 CPP(ArraySplice) \ 225 CPP(ArraySplice) \
226 CPP(ArrayUnshift) \ 226 CPP(ArrayUnshift) \
227 TFJ(ArrayPrototypeKeys, 1) \
228 TFJ(ArrayPrototypeValues, 1) \
229 TFJ(ArrayPrototypeEntries, 1) \
230 TFJ(ArrayIteratorPrototypeNext, 1) \
227 \ 231 \
228 /* ArrayBuffer */ \ 232 /* ArrayBuffer */ \
229 CPP(ArrayBufferConstructor) \ 233 CPP(ArrayBufferConstructor) \
230 CPP(ArrayBufferConstructor_ConstructStub) \ 234 CPP(ArrayBufferConstructor_ConstructStub) \
231 CPP(ArrayBufferPrototypeGetByteLength) \ 235 CPP(ArrayBufferPrototypeGetByteLength) \
232 CPP(ArrayBufferIsView) \ 236 CPP(ArrayBufferIsView) \
233 \ 237 \
234 /* Boolean */ \ 238 /* Boolean */ \
235 CPP(BooleanConstructor) \ 239 CPP(BooleanConstructor) \
236 CPP(BooleanConstructor_ConstructStub) \ 240 CPP(BooleanConstructor_ConstructStub) \
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 812
809 friend class Isolate; 813 friend class Isolate;
810 814
811 DISALLOW_COPY_AND_ASSIGN(Builtins); 815 DISALLOW_COPY_AND_ASSIGN(Builtins);
812 }; 816 };
813 817
814 } // namespace internal 818 } // namespace internal
815 } // namespace v8 819 } // namespace v8
816 820
817 #endif // V8_BUILTINS_BUILTINS_H_ 821 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698