OLD | NEW |
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 Loading... |
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(InterpreterLessThan, 2, 1) \ | |
210 F(InterpreterGreaterThan, 2, 1) \ | |
211 F(InterpreterLessThanOrEqual, 2, 1) \ | |
212 F(InterpreterGreaterThanOrEqual, 2, 1) \ | |
213 F(InterpreterToBoolean, 1, 1) \ | 209 F(InterpreterToBoolean, 1, 1) \ |
214 F(InterpreterLogicalNot, 1, 1) \ | 210 F(InterpreterLogicalNot, 1, 1) \ |
215 F(InterpreterNewClosure, 2, 1) \ | 211 F(InterpreterNewClosure, 2, 1) \ |
216 F(InterpreterTraceBytecodeEntry, 3, 1) \ | 212 F(InterpreterTraceBytecodeEntry, 3, 1) \ |
217 F(InterpreterTraceBytecodeExit, 3, 1) \ | 213 F(InterpreterTraceBytecodeExit, 3, 1) \ |
218 F(InterpreterClearPendingMessage, 0, 1) \ | 214 F(InterpreterClearPendingMessage, 0, 1) \ |
219 F(InterpreterSetPendingMessage, 1, 1) | 215 F(InterpreterSetPendingMessage, 1, 1) |
220 | 216 |
221 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ | 217 #define FOR_EACH_INTRINSIC_FUNCTION(F) \ |
222 F(FunctionGetName, 1, 1) \ | 218 F(FunctionGetName, 1, 1) \ |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 F(Divide, 2, 1) \ | 473 F(Divide, 2, 1) \ |
478 F(Modulus, 2, 1) \ | 474 F(Modulus, 2, 1) \ |
479 F(Add, 2, 1) \ | 475 F(Add, 2, 1) \ |
480 F(Subtract, 2, 1) \ | 476 F(Subtract, 2, 1) \ |
481 F(ShiftLeft, 2, 1) \ | 477 F(ShiftLeft, 2, 1) \ |
482 F(ShiftRight, 2, 1) \ | 478 F(ShiftRight, 2, 1) \ |
483 F(ShiftRightLogical, 2, 1) \ | 479 F(ShiftRightLogical, 2, 1) \ |
484 F(BitwiseAnd, 2, 1) \ | 480 F(BitwiseAnd, 2, 1) \ |
485 F(BitwiseOr, 2, 1) \ | 481 F(BitwiseOr, 2, 1) \ |
486 F(BitwiseXor, 2, 1) \ | 482 F(BitwiseXor, 2, 1) \ |
487 F(Equals, 2, 1) \ | 483 F(Equal, 2, 1) \ |
488 F(NotEquals, 2, 1) \ | 484 F(NotEqual, 2, 1) \ |
489 F(StrictEquals, 2, 1) \ | 485 F(StrictEqual, 2, 1) \ |
490 F(StrictNotEquals, 2, 1) | 486 F(StrictNotEqual, 2, 1) \ |
| 487 F(LessThan, 2, 1) \ |
| 488 F(GreaterThan, 2, 1) \ |
| 489 F(LessThanOrEqual, 2, 1) \ |
| 490 F(GreaterThanOrEqual, 2, 1) |
491 | 491 |
492 #define FOR_EACH_INTRINSIC_PROXY(F) \ | 492 #define FOR_EACH_INTRINSIC_PROXY(F) \ |
493 F(IsJSProxy, 1, 1) \ | 493 F(IsJSProxy, 1, 1) \ |
494 F(JSProxyCall, -1 /* >= 2 */, 1) \ | 494 F(JSProxyCall, -1 /* >= 2 */, 1) \ |
495 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ | 495 F(JSProxyConstruct, -1 /* >= 3 */, 1) \ |
496 F(JSProxyGetTarget, 1, 1) \ | 496 F(JSProxyGetTarget, 1, 1) \ |
497 F(JSProxyGetHandler, 1, 1) \ | 497 F(JSProxyGetHandler, 1, 1) \ |
498 F(JSProxyRevoke, 1, 1) | 498 F(JSProxyRevoke, 1, 1) |
499 | 499 |
500 #define FOR_EACH_INTRINSIC_REGEXP(F) \ | 500 #define FOR_EACH_INTRINSIC_REGEXP(F) \ |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 | 1193 |
1194 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1194 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1195 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1195 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1196 STATIC_ASSERT(LANGUAGE_END == 3); | 1196 STATIC_ASSERT(LANGUAGE_END == 3); |
1197 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1197 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1198 | 1198 |
1199 } // namespace internal | 1199 } // namespace internal |
1200 } // namespace v8 | 1200 } // namespace v8 |
1201 | 1201 |
1202 #endif // V8_RUNTIME_RUNTIME_H_ | 1202 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |