| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 F(RunningInSimulator, 0, 1) \ | 96 F(RunningInSimulator, 0, 1) \ |
| 97 F(IsConcurrentRecompilationSupported, 0, 1) \ | 97 F(IsConcurrentRecompilationSupported, 0, 1) \ |
| 98 F(OptimizeFunctionOnNextCall, -1, 1) \ | 98 F(OptimizeFunctionOnNextCall, -1, 1) \ |
| 99 F(NeverOptimizeFunction, 1, 1) \ | 99 F(NeverOptimizeFunction, 1, 1) \ |
| 100 F(GetOptimizationStatus, -1, 1) \ | 100 F(GetOptimizationStatus, -1, 1) \ |
| 101 F(GetOptimizationCount, 1, 1) \ | 101 F(GetOptimizationCount, 1, 1) \ |
| 102 F(UnblockConcurrentRecompilation, 0, 1) \ | 102 F(UnblockConcurrentRecompilation, 0, 1) \ |
| 103 F(CompileForOnStackReplacement, 2, 1) \ | 103 F(CompileForOnStackReplacement, 2, 1) \ |
| 104 F(SetAllocationTimeout, 2, 1) \ | 104 F(SetAllocationTimeout, 2, 1) \ |
| 105 F(AllocateInNewSpace, 1, 1) \ | 105 F(AllocateInNewSpace, 1, 1) \ |
| 106 F(AllocateInOldPointerSpace, 1, 1) \ | 106 F(AllocateInTargetSpace, 2, 1) \ |
| 107 F(AllocateInOldDataSpace, 1, 1) \ | |
| 108 F(SetNativeFlag, 1, 1) \ | 107 F(SetNativeFlag, 1, 1) \ |
| 109 F(SetInlineBuiltinFlag, 1, 1) \ | 108 F(SetInlineBuiltinFlag, 1, 1) \ |
| 110 F(StoreArrayLiteralElement, 5, 1) \ | 109 F(StoreArrayLiteralElement, 5, 1) \ |
| 111 F(DebugCallbackSupportsStepping, 1, 1) \ | 110 F(DebugCallbackSupportsStepping, 1, 1) \ |
| 112 F(DebugPrepareStepInIfStepping, 1, 1) \ | 111 F(DebugPrepareStepInIfStepping, 1, 1) \ |
| 113 F(FlattenString, 1, 1) \ | 112 F(FlattenString, 1, 1) \ |
| 114 F(MigrateInstance, 1, 1) \ | 113 F(MigrateInstance, 1, 1) \ |
| 115 F(NotifyContextDisposed, 0, 1) \ | 114 F(NotifyContextDisposed, 0, 1) \ |
| 116 \ | 115 \ |
| 117 /* Array join support */ \ | 116 /* Array join support */ \ |
| (...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 static Handle<Object> CreateArrayLiteralBoilerplate( | 836 static Handle<Object> CreateArrayLiteralBoilerplate( |
| 838 Isolate* isolate, | 837 Isolate* isolate, |
| 839 Handle<FixedArray> literals, | 838 Handle<FixedArray> literals, |
| 840 Handle<FixedArray> elements); | 839 Handle<FixedArray> elements); |
| 841 }; | 840 }; |
| 842 | 841 |
| 843 | 842 |
| 844 //--------------------------------------------------------------------------- | 843 //--------------------------------------------------------------------------- |
| 845 // Constants used by interface to runtime functions. | 844 // Constants used by interface to runtime functions. |
| 846 | 845 |
| 846 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
| 847 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
| 848 |
| 847 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 849 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 848 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 850 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 849 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 851 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 850 | 852 |
| 851 } } // namespace v8::internal | 853 } } // namespace v8::internal |
| 852 | 854 |
| 853 #endif // V8_RUNTIME_H_ | 855 #endif // V8_RUNTIME_H_ |
| OLD | NEW |