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

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

Issue 1744163002: [stubs] Introduce a proper ToBooleanStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips Created 4 years, 9 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/objects-inl.h ('k') | src/runtime/runtime-interpreter.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 200
201 #define FOR_EACH_INTRINSIC_FORIN(F) \ 201 #define FOR_EACH_INTRINSIC_FORIN(F) \
202 F(ForInDone, 2, 1) \ 202 F(ForInDone, 2, 1) \
203 F(ForInEnumerate, 1, 1) \ 203 F(ForInEnumerate, 1, 1) \
204 F(ForInFilter, 2, 1) \ 204 F(ForInFilter, 2, 1) \
205 F(ForInNext, 4, 1) \ 205 F(ForInNext, 4, 1) \
206 F(ForInStep, 1, 1) 206 F(ForInStep, 1, 1)
207 207
208 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ 208 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \
209 F(InterpreterToBoolean, 1, 1) \
210 F(InterpreterLogicalNot, 1, 1) \
211 F(InterpreterNewClosure, 2, 1) \ 209 F(InterpreterNewClosure, 2, 1) \
212 F(InterpreterTraceBytecodeEntry, 3, 1) \ 210 F(InterpreterTraceBytecodeEntry, 3, 1) \
213 F(InterpreterTraceBytecodeExit, 3, 1) \ 211 F(InterpreterTraceBytecodeExit, 3, 1) \
214 F(InterpreterClearPendingMessage, 0, 1) \ 212 F(InterpreterClearPendingMessage, 0, 1) \
215 F(InterpreterSetPendingMessage, 1, 1) 213 F(InterpreterSetPendingMessage, 1, 1)
216 214
217 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ 215 #define FOR_EACH_INTRINSIC_FUNCTION(F) \
218 F(FunctionGetName, 1, 1) \ 216 F(FunctionGetName, 1, 1) \
219 F(FunctionSetName, 2, 1) \ 217 F(FunctionSetName, 2, 1) \
220 F(FunctionRemovePrototype, 1, 1) \ 218 F(FunctionRemovePrototype, 1, 1) \
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 1190
1193 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1191 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1194 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1192 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1195 STATIC_ASSERT(LANGUAGE_END == 3); 1193 STATIC_ASSERT(LANGUAGE_END == 3);
1196 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1194 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1197 1195
1198 } // namespace internal 1196 } // namespace internal
1199 } // namespace v8 1197 } // namespace v8
1200 1198
1201 #endif // V8_RUNTIME_RUNTIME_H_ 1199 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698