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

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

Issue 2232063002: [builtins] WIP: Array indexOf in TurboFan/Runtime (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move fast path FastElements -> FastSmiOrObjectElements 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') | no next file with comments »
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 CPP(UnsupportedThrower) \ 191 CPP(UnsupportedThrower) \
192 \ 192 \
193 /* Array */ \ 193 /* Array */ \
194 ASM(ArrayCode) \ 194 ASM(ArrayCode) \
195 ASM(InternalArrayCode) \ 195 ASM(InternalArrayCode) \
196 CPP(ArrayConcat) \ 196 CPP(ArrayConcat) \
197 /* ES6 section 22.1.2.2 Array.isArray */ \ 197 /* ES6 section 22.1.2.2 Array.isArray */ \
198 TFJ(ArrayIsArray, 2) \ 198 TFJ(ArrayIsArray, 2) \
199 /* ES7 #sec-array.prototype.includes */ \ 199 /* ES7 #sec-array.prototype.includes */ \
200 TFJ(ArrayIncludes, 3) \ 200 TFJ(ArrayIncludes, 3) \
201 TFJ(ArrayIndexOf, 3) \
201 CPP(ArrayPop) \ 202 CPP(ArrayPop) \
202 CPP(ArrayPush) \ 203 CPP(ArrayPush) \
203 CPP(ArrayShift) \ 204 CPP(ArrayShift) \
204 CPP(ArraySlice) \ 205 CPP(ArraySlice) \
205 CPP(ArraySplice) \ 206 CPP(ArraySplice) \
206 CPP(ArrayUnshift) \ 207 CPP(ArrayUnshift) \
207 \ 208 \
208 /* ArrayBuffer */ \ 209 /* ArrayBuffer */ \
209 CPP(ArrayBufferConstructor) \ 210 CPP(ArrayBufferConstructor) \
210 CPP(ArrayBufferConstructor_ConstructStub) \ 211 CPP(ArrayBufferConstructor_ConstructStub) \
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 660
660 friend class Isolate; 661 friend class Isolate;
661 662
662 DISALLOW_COPY_AND_ASSIGN(Builtins); 663 DISALLOW_COPY_AND_ASSIGN(Builtins);
663 }; 664 };
664 665
665 } // namespace internal 666 } // namespace internal
666 } // namespace v8 667 } // namespace v8
667 668
668 #endif // V8_BUILTINS_BUILTINS_H_ 669 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698