| 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/objects.h" | 9 #include "src/objects.h" |
| 10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 F(IsValidSmi, 1, 1) \ | 400 F(IsValidSmi, 1, 1) \ |
| 401 F(StringToNumber, 1, 1) \ | 401 F(StringToNumber, 1, 1) \ |
| 402 F(StringParseInt, 2, 1) \ | 402 F(StringParseInt, 2, 1) \ |
| 403 F(StringParseFloat, 1, 1) \ | 403 F(StringParseFloat, 1, 1) \ |
| 404 F(NumberToString, 1, 1) \ | 404 F(NumberToString, 1, 1) \ |
| 405 F(NumberToStringSkipCache, 1, 1) \ | 405 F(NumberToStringSkipCache, 1, 1) \ |
| 406 F(NumberToInteger, 1, 1) \ | 406 F(NumberToInteger, 1, 1) \ |
| 407 F(NumberToIntegerMapMinusZero, 1, 1) \ | 407 F(NumberToIntegerMapMinusZero, 1, 1) \ |
| 408 F(NumberToSmi, 1, 1) \ | 408 F(NumberToSmi, 1, 1) \ |
| 409 F(NumberImul, 2, 1) \ | 409 F(NumberImul, 2, 1) \ |
| 410 F(NumberCompare, 3, 1) \ | |
| 411 F(SmiLexicographicCompare, 2, 1) \ | 410 F(SmiLexicographicCompare, 2, 1) \ |
| 412 F(MaxSmi, 0, 1) \ | 411 F(MaxSmi, 0, 1) \ |
| 413 F(IsSmi, 1, 1) \ | 412 F(IsSmi, 1, 1) \ |
| 414 F(GetRootNaN, 0, 1) | 413 F(GetRootNaN, 0, 1) |
| 415 | 414 |
| 416 | 415 |
| 417 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 416 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
| 418 F(GetPrototype, 1, 1) \ | 417 F(GetPrototype, 1, 1) \ |
| 419 F(InternalSetPrototype, 2, 1) \ | 418 F(InternalSetPrototype, 2, 1) \ |
| 420 F(SetPrototype, 2, 1) \ | 419 F(SetPrototype, 2, 1) \ |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 F(DefineSetterPropertyUnchecked, 4, 1) \ | 472 F(DefineSetterPropertyUnchecked, 4, 1) \ |
| 474 F(ToObject, 1, 1) \ | 473 F(ToObject, 1, 1) \ |
| 475 F(ToPrimitive, 1, 1) \ | 474 F(ToPrimitive, 1, 1) \ |
| 476 F(ToPrimitive_Number, 1, 1) \ | 475 F(ToPrimitive_Number, 1, 1) \ |
| 477 F(ToPrimitive_String, 1, 1) \ | 476 F(ToPrimitive_String, 1, 1) \ |
| 478 F(ToNumber, 1, 1) \ | 477 F(ToNumber, 1, 1) \ |
| 479 F(ToString, 1, 1) \ | 478 F(ToString, 1, 1) \ |
| 480 F(ToName, 1, 1) \ | 479 F(ToName, 1, 1) \ |
| 481 F(Equals, 2, 1) \ | 480 F(Equals, 2, 1) \ |
| 482 F(StrictEquals, 2, 1) \ | 481 F(StrictEquals, 2, 1) \ |
| 482 F(Compare, 3, 1) \ |
| 483 F(Compare_Strong, 3, 1) \ |
| 483 F(InstanceOf, 2, 1) \ | 484 F(InstanceOf, 2, 1) \ |
| 484 F(HasInPrototypeChain, 2, 1) \ | 485 F(HasInPrototypeChain, 2, 1) \ |
| 485 F(CreateIterResultObject, 2, 1) \ | 486 F(CreateIterResultObject, 2, 1) \ |
| 486 F(IsAccessCheckNeeded, 1, 1) | 487 F(IsAccessCheckNeeded, 1, 1) |
| 487 | 488 |
| 488 | 489 |
| 489 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ | 490 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ |
| 490 F(IsObserved, 1, 1) \ | 491 F(IsObserved, 1, 1) \ |
| 491 F(SetIsObserved, 1, 1) \ | 492 F(SetIsObserved, 1, 1) \ |
| 492 F(EnqueueMicrotask, 1, 1) \ | 493 F(EnqueueMicrotask, 1, 1) \ |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 | 1235 |
| 1235 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1236 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1236 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1237 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1237 STATIC_ASSERT(LANGUAGE_END == 3); | 1238 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1238 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1239 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1239 | 1240 |
| 1240 } // namespace internal | 1241 } // namespace internal |
| 1241 } // namespace v8 | 1242 } // namespace v8 |
| 1242 | 1243 |
| 1243 #endif // V8_RUNTIME_RUNTIME_H_ | 1244 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |