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

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: Fix BranchIfSimd128Equal 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
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 CPP(Illegal) \ 184 CPP(Illegal) \
185 CPP(RestrictedFunctionPropertiesThrower) \ 185 CPP(RestrictedFunctionPropertiesThrower) \
186 CPP(RestrictedStrictArgumentsPropertiesThrower) \ 186 CPP(RestrictedStrictArgumentsPropertiesThrower) \
187 \ 187 \
188 /* Array */ \ 188 /* Array */ \
189 ASM(ArrayCode) \ 189 ASM(ArrayCode) \
190 ASM(InternalArrayCode) \ 190 ASM(InternalArrayCode) \
191 CPP(ArrayConcat) \ 191 CPP(ArrayConcat) \
192 /* ES6 section 22.1.2.2 Array.isArray */ \ 192 /* ES6 section 22.1.2.2 Array.isArray */ \
193 TFJ(ArrayIsArray, 2) \ 193 TFJ(ArrayIsArray, 2) \
194 /* ES7 #sec-array.prototype.includes */ \
195 TFJ(ArrayIncludes, 3) \
194 CPP(ArrayPop) \ 196 CPP(ArrayPop) \
195 CPP(ArrayPush) \ 197 CPP(ArrayPush) \
196 CPP(ArrayShift) \ 198 CPP(ArrayShift) \
197 CPP(ArraySlice) \ 199 CPP(ArraySlice) \
198 CPP(ArraySplice) \ 200 CPP(ArraySplice) \
199 CPP(ArrayUnshift) \ 201 CPP(ArrayUnshift) \
200 \ 202 \
201 /* ArrayBuffer */ \ 203 /* ArrayBuffer */ \
202 CPP(ArrayBufferConstructor) \ 204 CPP(ArrayBufferConstructor) \
203 CPP(ArrayBufferConstructor_ConstructStub) \ 205 CPP(ArrayBufferConstructor_ConstructStub) \
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 646
645 friend class Isolate; 647 friend class Isolate;
646 648
647 DISALLOW_COPY_AND_ASSIGN(Builtins); 649 DISALLOW_COPY_AND_ASSIGN(Builtins);
648 }; 650 };
649 651
650 } // namespace internal 652 } // namespace internal
651 } // namespace v8 653 } // namespace v8
652 654
653 #endif // V8_BUILTINS_BUILTINS_H_ 655 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-array.cc » ('j') | test/mjsunit/es7/array-includes-receiver.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698