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

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

Issue 2146293003: [builtins] implement Array.prototype.includes in TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: debug fixup Created 4 years, 4 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
« no previous file with comments | « no previous file | src/builtins/builtins-array.cc » ('j') | src/elements.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 CPP(Illegal) \ 183 CPP(Illegal) \
184 CPP(RestrictedFunctionPropertiesThrower) \ 184 CPP(RestrictedFunctionPropertiesThrower) \
185 CPP(RestrictedStrictArgumentsPropertiesThrower) \ 185 CPP(RestrictedStrictArgumentsPropertiesThrower) \
186 \ 186 \
187 /* Array */ \ 187 /* Array */ \
188 ASM(ArrayCode) \ 188 ASM(ArrayCode) \
189 ASM(InternalArrayCode) \ 189 ASM(InternalArrayCode) \
190 CPP(ArrayConcat) \ 190 CPP(ArrayConcat) \
191 /* ES6 section 22.1.2.2 Array.isArray */ \ 191 /* ES6 section 22.1.2.2 Array.isArray */ \
192 TFJ(ArrayIsArray, 2) \ 192 TFJ(ArrayIsArray, 2) \
193 /* ES7 #sec-array.prototype.includes */ \
194 TFJ(ArrayIncludes, 3) \
193 CPP(ArrayPop) \ 195 CPP(ArrayPop) \
194 CPP(ArrayPush) \ 196 CPP(ArrayPush) \
195 CPP(ArrayShift) \ 197 CPP(ArrayShift) \
196 CPP(ArraySlice) \ 198 CPP(ArraySlice) \
197 CPP(ArraySplice) \ 199 CPP(ArraySplice) \
198 CPP(ArrayUnshift) \ 200 CPP(ArrayUnshift) \
199 \ 201 \
200 /* ArrayBuffer */ \ 202 /* ArrayBuffer */ \
201 CPP(ArrayBufferConstructor) \ 203 CPP(ArrayBufferConstructor) \
202 CPP(ArrayBufferConstructor_ConstructStub) \ 204 CPP(ArrayBufferConstructor_ConstructStub) \
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 645
644 friend class Isolate; 646 friend class Isolate;
645 647
646 DISALLOW_COPY_AND_ASSIGN(Builtins); 648 DISALLOW_COPY_AND_ASSIGN(Builtins);
647 }; 649 };
648 650
649 } // namespace internal 651 } // namespace internal
650 } // namespace v8 652 } // namespace v8
651 653
652 #endif // V8_BUILTINS_BUILTINS_H_ 654 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-array.cc » ('j') | src/elements.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698