| 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_H_ | 5 #ifndef V8_RUNTIME_H_ |
| 6 #define V8_RUNTIME_H_ | 6 #define V8_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/zone.h" | 10 #include "src/zone.h" |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 F(LiveEditFunctionSetScript, 2, 1) \ | 574 F(LiveEditFunctionSetScript, 2, 1) \ |
| 575 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 575 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
| 576 F(LiveEditPatchFunctionPositions, 2, 1) \ | 576 F(LiveEditPatchFunctionPositions, 2, 1) \ |
| 577 F(LiveEditCheckAndDropActivations, 2, 1) \ | 577 F(LiveEditCheckAndDropActivations, 2, 1) \ |
| 578 F(LiveEditCompareStrings, 2, 1) \ | 578 F(LiveEditCompareStrings, 2, 1) \ |
| 579 F(LiveEditRestartFrame, 2, 1) \ | 579 F(LiveEditRestartFrame, 2, 1) \ |
| 580 F(GetFunctionCodePositionFromSource, 2, 1) \ | 580 F(GetFunctionCodePositionFromSource, 2, 1) \ |
| 581 F(ExecuteInDebugContext, 2, 1) \ | 581 F(ExecuteInDebugContext, 2, 1) \ |
| 582 \ | 582 \ |
| 583 F(SetFlags, 1, 1) \ | 583 F(SetFlags, 1, 1) \ |
| 584 F(HasAllocationSiteTransitioning, 0, 1) \ |
| 584 F(CollectGarbage, 1, 1) \ | 585 F(CollectGarbage, 1, 1) \ |
| 585 F(GetHeapUsage, 0, 1) | 586 F(GetHeapUsage, 0, 1) |
| 586 | 587 |
| 587 | 588 |
| 588 #ifdef V8_I18N_SUPPORT | 589 #ifdef V8_I18N_SUPPORT |
| 589 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ | 590 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ |
| 590 /* i18n support */ \ | 591 /* i18n support */ \ |
| 591 /* Standalone, helper methods. */ \ | 592 /* Standalone, helper methods. */ \ |
| 592 F(CanonicalizeLanguageTag, 1, 1) \ | 593 F(CanonicalizeLanguageTag, 1, 1) \ |
| 593 F(AvailableLocalesOf, 1, 1) \ | 594 F(AvailableLocalesOf, 1, 1) \ |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {}; | 902 class AllocateDoubleAlignFlag : public BitField<bool, 0, 1> {}; |
| 902 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; | 903 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; |
| 903 | 904 |
| 904 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 905 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 905 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 906 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 906 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; | 907 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; |
| 907 } | 908 } |
| 908 } // namespace v8::internal | 909 } // namespace v8::internal |
| 909 | 910 |
| 910 #endif // V8_RUNTIME_H_ | 911 #endif // V8_RUNTIME_H_ |
| OLD | NEW |