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

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: move to builtins-array.cc and add indexed interceptor checks Created 4 years, 5 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.cc » ('j') | src/builtins/builtins.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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 CPP(Illegal) \ 181 CPP(Illegal) \
182 CPP(RestrictedFunctionPropertiesThrower) \ 182 CPP(RestrictedFunctionPropertiesThrower) \
183 CPP(RestrictedStrictArgumentsPropertiesThrower) \ 183 CPP(RestrictedStrictArgumentsPropertiesThrower) \
184 \ 184 \
185 /* Array */ \ 185 /* Array */ \
186 ASM(ArrayCode) \ 186 ASM(ArrayCode) \
187 ASM(InternalArrayCode) \ 187 ASM(InternalArrayCode) \
188 CPP(ArrayConcat) \ 188 CPP(ArrayConcat) \
189 /* ES6 section 22.1.2.2 Array.isArray */ \ 189 /* ES6 section 22.1.2.2 Array.isArray */ \
190 TFJ(ArrayIsArray, 2) \ 190 TFJ(ArrayIsArray, 2) \
191 /* ES7 section 22.1.3.11 Array.prototype.includes */ \
192 TFJ(ArrayIncludes, 3) \
191 CPP(ArrayPop) \ 193 CPP(ArrayPop) \
192 CPP(ArrayPush) \ 194 CPP(ArrayPush) \
193 CPP(ArrayShift) \ 195 CPP(ArrayShift) \
194 CPP(ArraySlice) \ 196 CPP(ArraySlice) \
195 CPP(ArraySplice) \ 197 CPP(ArraySplice) \
196 CPP(ArrayUnshift) \ 198 CPP(ArrayUnshift) \
197 \ 199 \
198 /* ArrayBuffer */ \ 200 /* ArrayBuffer */ \
199 CPP(ArrayBufferConstructor) \ 201 CPP(ArrayBufferConstructor) \
200 CPP(ArrayBufferConstructor_ConstructStub) \ 202 CPP(ArrayBufferConstructor_ConstructStub) \
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 618
617 friend class Isolate; 619 friend class Isolate;
618 620
619 DISALLOW_COPY_AND_ASSIGN(Builtins); 621 DISALLOW_COPY_AND_ASSIGN(Builtins);
620 }; 622 };
621 623
622 } // namespace internal 624 } // namespace internal
623 } // namespace v8 625 } // namespace v8
624 626
625 #endif // V8_BUILTINS_BUILTINS_H_ 627 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins.cc » ('j') | src/builtins/builtins.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698