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/zone.h" | 10 #include "src/zone.h" |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 F(LiveEditReplaceFunctionCode, 2, 1) \ | 570 F(LiveEditReplaceFunctionCode, 2, 1) \ |
571 F(LiveEditFunctionSourceUpdated, 1, 1) \ | 571 F(LiveEditFunctionSourceUpdated, 1, 1) \ |
572 F(LiveEditFunctionSetScript, 2, 1) \ | 572 F(LiveEditFunctionSetScript, 2, 1) \ |
573 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ | 573 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ |
574 F(LiveEditPatchFunctionPositions, 2, 1) \ | 574 F(LiveEditPatchFunctionPositions, 2, 1) \ |
575 F(LiveEditCheckAndDropActivations, 2, 1) \ | 575 F(LiveEditCheckAndDropActivations, 2, 1) \ |
576 F(LiveEditCompareStrings, 2, 1) \ | 576 F(LiveEditCompareStrings, 2, 1) \ |
577 F(LiveEditRestartFrame, 2, 1) \ | 577 F(LiveEditRestartFrame, 2, 1) \ |
578 F(GetFunctionCodePositionFromSource, 2, 1) \ | 578 F(GetFunctionCodePositionFromSource, 2, 1) \ |
579 F(ExecuteInDebugContext, 1, 1) \ | 579 F(ExecuteInDebugContext, 1, 1) \ |
580 \ | 580 F(GetDebugContext, 0, 1) \ |
581 F(SetFlags, 1, 1) \ | 581 F(SetFlags, 1, 1) \ |
582 F(CollectGarbage, 1, 1) \ | 582 F(CollectGarbage, 1, 1) \ |
583 F(GetHeapUsage, 0, 1) | 583 F(GetHeapUsage, 0, 1) |
584 | 584 |
585 | 585 |
586 #ifdef V8_I18N_SUPPORT | 586 #ifdef V8_I18N_SUPPORT |
587 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ | 587 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) \ |
588 /* i18n support */ \ | 588 /* i18n support */ \ |
589 /* Standalone, helper methods. */ \ | 589 /* Standalone, helper methods. */ \ |
590 F(CanonicalizeLanguageTag, 1, 1) \ | 590 F(CanonicalizeLanguageTag, 1, 1) \ |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 | 903 |
904 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 904 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
905 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 905 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
906 STATIC_ASSERT(LANGUAGE_END == 3); | 906 STATIC_ASSERT(LANGUAGE_END == 3); |
907 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 907 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
908 | 908 |
909 } // namespace internal | 909 } // namespace internal |
910 } // namespace v8 | 910 } // namespace v8 |
911 | 911 |
912 #endif // V8_RUNTIME_RUNTIME_H_ | 912 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |