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

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

Issue 2600443002: [turbofan] Lower StringCharCodeAt to a dedicated builtin. (Closed)
Patch Set: Created 3 years, 12 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-string.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ASM(StackCheck) \ 98 ASM(StackCheck) \
99 \ 99 \
100 /* String helpers */ \ 100 /* String helpers */ \
101 TFS(StringEqual, BUILTIN, kNoExtraICState, Compare) \ 101 TFS(StringEqual, BUILTIN, kNoExtraICState, Compare) \
102 TFS(StringNotEqual, BUILTIN, kNoExtraICState, Compare) \ 102 TFS(StringNotEqual, BUILTIN, kNoExtraICState, Compare) \
103 TFS(StringLessThan, BUILTIN, kNoExtraICState, Compare) \ 103 TFS(StringLessThan, BUILTIN, kNoExtraICState, Compare) \
104 TFS(StringLessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \ 104 TFS(StringLessThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
105 TFS(StringGreaterThan, BUILTIN, kNoExtraICState, Compare) \ 105 TFS(StringGreaterThan, BUILTIN, kNoExtraICState, Compare) \
106 TFS(StringGreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare) \ 106 TFS(StringGreaterThanOrEqual, BUILTIN, kNoExtraICState, Compare) \
107 TFS(StringCharAt, BUILTIN, kNoExtraICState, StringCharAt) \ 107 TFS(StringCharAt, BUILTIN, kNoExtraICState, StringCharAt) \
108 TFS(StringCharCodeAt, BUILTIN, kNoExtraICState, StringCharCodeAt) \
108 \ 109 \
109 /* Interpreter */ \ 110 /* Interpreter */ \
110 ASM(InterpreterEntryTrampoline) \ 111 ASM(InterpreterEntryTrampoline) \
111 ASM(InterpreterPushArgsAndCall) \ 112 ASM(InterpreterPushArgsAndCall) \
112 ASM(InterpreterPushArgsAndCallFunction) \ 113 ASM(InterpreterPushArgsAndCallFunction) \
113 ASM(InterpreterPushArgsAndTailCall) \ 114 ASM(InterpreterPushArgsAndTailCall) \
114 ASM(InterpreterPushArgsAndTailCallFunction) \ 115 ASM(InterpreterPushArgsAndTailCallFunction) \
115 ASM(InterpreterPushArgsAndConstruct) \ 116 ASM(InterpreterPushArgsAndConstruct) \
116 ASM(InterpreterPushArgsAndConstructFunction) \ 117 ASM(InterpreterPushArgsAndConstructFunction) \
117 ASM(InterpreterPushArgsAndConstructArray) \ 118 ASM(InterpreterPushArgsAndConstructArray) \
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 854
854 friend class Isolate; 855 friend class Isolate;
855 856
856 DISALLOW_COPY_AND_ASSIGN(Builtins); 857 DISALLOW_COPY_AND_ASSIGN(Builtins);
857 }; 858 };
858 859
859 } // namespace internal 860 } // namespace internal
860 } // namespace v8 861 } // namespace v8
861 862
862 #endif // V8_BUILTINS_BUILTINS_H_ 863 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-string.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698