| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 F(NotifyDeoptimized, 1, 1) \ | 92 F(NotifyDeoptimized, 1, 1) \ |
| 93 F(NotifyStubFailure, 0, 1) \ | 93 F(NotifyStubFailure, 0, 1) \ |
| 94 F(DeoptimizeFunction, 1, 1) \ | 94 F(DeoptimizeFunction, 1, 1) \ |
| 95 F(ClearFunctionTypeFeedback, 1, 1) \ | 95 F(ClearFunctionTypeFeedback, 1, 1) \ |
| 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(CompileForOnStackReplacement, 2, 1) \ | 103 F(CompileForOnStackReplacement, 2, 1) \ |
| 103 F(SetAllocationTimeout, 2, 1) \ | 104 F(SetAllocationTimeout, 2, 1) \ |
| 104 F(AllocateInNewSpace, 1, 1) \ | 105 F(AllocateInNewSpace, 1, 1) \ |
| 105 F(AllocateInOldPointerSpace, 1, 1) \ | 106 F(AllocateInOldPointerSpace, 1, 1) \ |
| 106 F(AllocateInOldDataSpace, 1, 1) \ | 107 F(AllocateInOldDataSpace, 1, 1) \ |
| 107 F(SetNativeFlag, 1, 1) \ | 108 F(SetNativeFlag, 1, 1) \ |
| 108 F(StoreArrayLiteralElement, 5, 1) \ | 109 F(StoreArrayLiteralElement, 5, 1) \ |
| 109 F(DebugCallbackSupportsStepping, 1, 1) \ | 110 F(DebugCallbackSupportsStepping, 1, 1) \ |
| 110 F(DebugPrepareStepInIfStepping, 1, 1) \ | 111 F(DebugPrepareStepInIfStepping, 1, 1) \ |
| 111 F(FlattenString, 1, 1) \ | 112 F(FlattenString, 1, 1) \ |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 F(SetObserverDeliveryPending, 0, 1) \ | 356 F(SetObserverDeliveryPending, 0, 1) \ |
| 356 F(GetObservationState, 0, 1) \ | 357 F(GetObservationState, 0, 1) \ |
| 357 F(ObservationWeakMapCreate, 0, 1) \ | 358 F(ObservationWeakMapCreate, 0, 1) \ |
| 358 F(UnwrapGlobalProxy, 1, 1) \ | 359 F(UnwrapGlobalProxy, 1, 1) \ |
| 359 F(IsAccessAllowedForObserver, 3, 1) \ | 360 F(IsAccessAllowedForObserver, 3, 1) \ |
| 360 \ | 361 \ |
| 361 /* Harmony typed arrays */ \ | 362 /* Harmony typed arrays */ \ |
| 362 F(ArrayBufferInitialize, 2, 1)\ | 363 F(ArrayBufferInitialize, 2, 1)\ |
| 363 F(ArrayBufferGetByteLength, 1, 1)\ | 364 F(ArrayBufferGetByteLength, 1, 1)\ |
| 364 F(ArrayBufferSliceImpl, 3, 1) \ | 365 F(ArrayBufferSliceImpl, 3, 1) \ |
| 366 F(ArrayBufferIsView, 1, 1) \ |
| 365 \ | 367 \ |
| 366 F(TypedArrayInitialize, 5, 1) \ | 368 F(TypedArrayInitialize, 5, 1) \ |
| 367 F(TypedArrayInitializeFromArrayLike, 4, 1) \ | 369 F(TypedArrayInitializeFromArrayLike, 4, 1) \ |
| 368 F(TypedArrayGetBuffer, 1, 1) \ | 370 F(TypedArrayGetBuffer, 1, 1) \ |
| 369 F(TypedArrayGetByteLength, 1, 1) \ | 371 F(TypedArrayGetByteLength, 1, 1) \ |
| 370 F(TypedArrayGetByteOffset, 1, 1) \ | 372 F(TypedArrayGetByteOffset, 1, 1) \ |
| 371 F(TypedArrayGetLength, 1, 1) \ | 373 F(TypedArrayGetLength, 1, 1) \ |
| 372 F(TypedArraySetFastCases, 3, 1) \ | 374 F(TypedArraySetFastCases, 3, 1) \ |
| 373 \ | 375 \ |
| 374 F(DataViewInitialize, 4, 1) \ | 376 F(DataViewInitialize, 4, 1) \ |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 //--------------------------------------------------------------------------- | 851 //--------------------------------------------------------------------------- |
| 850 // Constants used by interface to runtime functions. | 852 // Constants used by interface to runtime functions. |
| 851 | 853 |
| 852 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 854 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 853 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 855 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 854 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 856 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 855 | 857 |
| 856 } } // namespace v8::internal | 858 } } // namespace v8::internal |
| 857 | 859 |
| 858 #endif // V8_RUNTIME_H_ | 860 #endif // V8_RUNTIME_H_ |
| OLD | NEW |