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

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

Issue 2151163002: [stubs] Improve code generation for ToBoolean. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Fix redness. 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 | « include/v8.h ('k') | src/builtins/builtins.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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 /* Adapters for Turbofan into runtime */ \ 156 /* Adapters for Turbofan into runtime */ \
157 ASM(AllocateInNewSpace) \ 157 ASM(AllocateInNewSpace) \
158 ASM(AllocateInOldSpace) \ 158 ASM(AllocateInOldSpace) \
159 \ 159 \
160 /* Debugger */ \ 160 /* Debugger */ \
161 DBG(Return_DebugBreak) \ 161 DBG(Return_DebugBreak) \
162 DBG(Slot_DebugBreak) \ 162 DBG(Slot_DebugBreak) \
163 DBG(FrameDropper_LiveEdit) \ 163 DBG(FrameDropper_LiveEdit) \
164 \ 164 \
165 /* Type conversions */ \ 165 /* Type conversions */ \
166 TFS(ToBoolean, BUILTIN, kNoExtraICState, TypeConversion) \
166 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \ 167 TFS(OrdinaryToPrimitive_Number, BUILTIN, kNoExtraICState, TypeConversion) \
167 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \ 168 TFS(OrdinaryToPrimitive_String, BUILTIN, kNoExtraICState, TypeConversion) \
168 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \ 169 TFS(NonPrimitiveToPrimitive_Default, BUILTIN, kNoExtraICState, \
169 TypeConversion) \ 170 TypeConversion) \
170 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \ 171 TFS(NonPrimitiveToPrimitive_Number, BUILTIN, kNoExtraICState, \
171 TypeConversion) \ 172 TypeConversion) \
172 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \ 173 TFS(NonPrimitiveToPrimitive_String, BUILTIN, kNoExtraICState, \
173 TypeConversion) \ 174 TypeConversion) \
174 ASM(StringToNumber) \ 175 ASM(StringToNumber) \
175 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \ 176 TFS(NonNumberToNumber, BUILTIN, kNoExtraICState, TypeConversion) \
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 617
617 friend class Isolate; 618 friend class Isolate;
618 619
619 DISALLOW_COPY_AND_ASSIGN(Builtins); 620 DISALLOW_COPY_AND_ASSIGN(Builtins);
620 }; 621 };
621 622
622 } // namespace internal 623 } // namespace internal
623 } // namespace v8 624 } // namespace v8
624 625
625 #endif // V8_BUILTINS_BUILTINS_H_ 626 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698