OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 F(NotifyStubFailure, 0, 1) \ | 93 F(NotifyStubFailure, 0, 1) \ |
94 F(NotifyOSR, 0, 1) \ | 94 F(NotifyOSR, 0, 1) \ |
95 F(DeoptimizeFunction, 1, 1) \ | 95 F(DeoptimizeFunction, 1, 1) \ |
96 F(ClearFunctionTypeFeedback, 1, 1) \ | 96 F(ClearFunctionTypeFeedback, 1, 1) \ |
97 F(RunningInSimulator, 0, 1) \ | 97 F(RunningInSimulator, 0, 1) \ |
98 F(OptimizeFunctionOnNextCall, -1, 1) \ | 98 F(OptimizeFunctionOnNextCall, -1, 1) \ |
99 F(WaitUntilOptimized, 1, 1) \ | 99 F(WaitUntilOptimized, 1, 1) \ |
100 F(GetOptimizationStatus, 1, 1) \ | 100 F(GetOptimizationStatus, 1, 1) \ |
101 F(GetOptimizationCount, 1, 1) \ | 101 F(GetOptimizationCount, 1, 1) \ |
102 F(CompileForOnStackReplacement, 1, 1) \ | 102 F(CompileForOnStackReplacement, 1, 1) \ |
103 F(SetNewFunctionAttributes, 1, 1) \ | |
104 F(AllocateInNewSpace, 1, 1) \ | 103 F(AllocateInNewSpace, 1, 1) \ |
105 F(AllocateInOldPointerSpace, 1, 1) \ | 104 F(AllocateInOldPointerSpace, 1, 1) \ |
106 F(SetNativeFlag, 1, 1) \ | 105 F(SetNativeFlag, 1, 1) \ |
107 F(StoreArrayLiteralElement, 5, 1) \ | 106 F(StoreArrayLiteralElement, 5, 1) \ |
108 F(DebugCallbackSupportsStepping, 1, 1) \ | 107 F(DebugCallbackSupportsStepping, 1, 1) \ |
109 F(DebugPrepareStepInIfStepping, 1, 1) \ | 108 F(DebugPrepareStepInIfStepping, 1, 1) \ |
110 F(FlattenString, 1, 1) \ | 109 F(FlattenString, 1, 1) \ |
111 \ | 110 \ |
112 /* Array join support */ \ | 111 /* Array join support */ \ |
113 F(PushIfAbsent, 2, 1) \ | 112 F(PushIfAbsent, 2, 1) \ |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 //--------------------------------------------------------------------------- | 774 //--------------------------------------------------------------------------- |
776 // Constants used by interface to runtime functions. | 775 // Constants used by interface to runtime functions. |
777 | 776 |
778 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 777 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
779 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 778 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
780 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 779 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
781 | 780 |
782 } } // namespace v8::internal | 781 } } // namespace v8::internal |
783 | 782 |
784 #endif // V8_RUNTIME_H_ | 783 #endif // V8_RUNTIME_H_ |
OLD | NEW |