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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 F(LazyCompile, 1, 1) \ | 88 F(LazyCompile, 1, 1) \ |
89 F(LazyRecompile, 1, 1) \ | 89 F(LazyRecompile, 1, 1) \ |
90 F(ParallelRecompile, 1, 1) \ | 90 F(ParallelRecompile, 1, 1) \ |
91 F(InstallRecompiledCode, 1, 1) \ | 91 F(InstallRecompiledCode, 1, 1) \ |
92 F(NotifyDeoptimized, 1, 1) \ | 92 F(NotifyDeoptimized, 1, 1) \ |
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(IsParallelSupported, 0, 1) \ | |
Yang
2013/06/17 14:07:58
Maybe rename to indicate that it's compilation-rel
kilvadyb
2013/06/17 16:02:36
Done.
| |
98 F(OptimizeFunctionOnNextCall, -1, 1) \ | 99 F(OptimizeFunctionOnNextCall, -1, 1) \ |
99 F(CompleteOptimization, 1, 1) \ | 100 F(CompleteOptimization, 1, 1) \ |
100 F(GetOptimizationStatus, 1, 1) \ | 101 F(GetOptimizationStatus, 1, 1) \ |
101 F(GetOptimizationCount, 1, 1) \ | 102 F(GetOptimizationCount, 1, 1) \ |
102 F(CompileForOnStackReplacement, 1, 1) \ | 103 F(CompileForOnStackReplacement, 1, 1) \ |
103 F(AllocateInNewSpace, 1, 1) \ | 104 F(AllocateInNewSpace, 1, 1) \ |
104 F(AllocateInOldPointerSpace, 1, 1) \ | 105 F(AllocateInOldPointerSpace, 1, 1) \ |
105 F(AllocateInOldDataSpace, 1, 1) \ | 106 F(AllocateInOldDataSpace, 1, 1) \ |
106 F(SetNativeFlag, 1, 1) \ | 107 F(SetNativeFlag, 1, 1) \ |
107 F(StoreArrayLiteralElement, 5, 1) \ | 108 F(StoreArrayLiteralElement, 5, 1) \ |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
782 //--------------------------------------------------------------------------- | 783 //--------------------------------------------------------------------------- |
783 // Constants used by interface to runtime functions. | 784 // Constants used by interface to runtime functions. |
784 | 785 |
785 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 786 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
786 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 787 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
787 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 788 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
788 | 789 |
789 } } // namespace v8::internal | 790 } } // namespace v8::internal |
790 | 791 |
791 #endif // V8_RUNTIME_H_ | 792 #endif // V8_RUNTIME_H_ |
OLD | NEW |