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

Side by Side Diff: src/code-stub-assembler.h

Issue 2373983004: [turbofan] inline %StringIteratorPrototype%.next in JSBuiltinReducer. (Closed)
Patch Set: Reland "[turbofan] inline %StringIteratorPrototype%.next in JSBuiltinReducer" 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler/access-builder.h » ('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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
11 #include "src/objects.h" 11 #include "src/objects.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 class CallInterfaceDescriptor; 16 class CallInterfaceDescriptor;
17 class StatsCounter; 17 class StatsCounter;
18 class StubCache; 18 class StubCache;
19 19
20 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol }; 20 enum class PrimitiveType { kBoolean, kNumber, kString, kSymbol };
21 21
22 enum class UnicodeEncoding {
23 // Different unicode encodings in a |word32|:
24 UTF16, // hi 16bits -> trailing surrogate or 0, low 16bits -> lead surrogate
25 UTF32, // full UTF32 code unit / Unicode codepoint
26 };
27
28 #define HEAP_CONSTANT_LIST(V) \ 22 #define HEAP_CONSTANT_LIST(V) \
29 V(BooleanMap, BooleanMap) \ 23 V(BooleanMap, BooleanMap) \
30 V(empty_string, EmptyString) \ 24 V(empty_string, EmptyString) \
31 V(EmptyFixedArray, EmptyFixedArray) \ 25 V(EmptyFixedArray, EmptyFixedArray) \
32 V(FixedArrayMap, FixedArrayMap) \ 26 V(FixedArrayMap, FixedArrayMap) \
33 V(FixedCOWArrayMap, FixedCOWArrayMap) \ 27 V(FixedCOWArrayMap, FixedCOWArrayMap) \
34 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \ 28 V(FixedDoubleArrayMap, FixedDoubleArrayMap) \
35 V(HeapNumberMap, HeapNumberMap) \ 29 V(HeapNumberMap, HeapNumberMap) \
36 V(MinusZeroValue, MinusZero) \ 30 V(MinusZeroValue, MinusZero) \
37 V(NanValue, Nan) \ 31 V(NanValue, Nan) \
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 Label* bailout); 901 Label* bailout);
908 902
909 static const int kElementLoopUnrollThreshold = 8; 903 static const int kElementLoopUnrollThreshold = 8;
910 }; 904 };
911 905
912 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 906 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
913 907
914 } // namespace internal 908 } // namespace internal
915 } // namespace v8 909 } // namespace v8
916 #endif // V8_CODE_STUB_ASSEMBLER_H_ 910 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler/access-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698