| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(IsParallelRecompilationSupported, 0, 1) \ | 98 F(IsParallelRecompilationSupported, 0, 1) \ |
| 99 F(OptimizeFunctionOnNextCall, -1, 1) \ | 99 F(OptimizeFunctionOnNextCall, -1, 1) \ |
| 100 F(NeverOptimize, -1, 1) \ | 100 F(NeverOptimizeFunction, 1, 1) \ |
| 101 F(CompleteOptimization, 1, 1) \ | 101 F(GetOptimizationStatus, -1, 1) \ |
| 102 F(GetOptimizationStatus, 1, 1) \ | |
| 103 F(GetOptimizationCount, 1, 1) \ | 102 F(GetOptimizationCount, 1, 1) \ |
| 104 F(CompileForOnStackReplacement, 1, 1) \ | 103 F(CompileForOnStackReplacement, 1, 1) \ |
| 105 F(AllocateInNewSpace, 1, 1) \ | 104 F(AllocateInNewSpace, 1, 1) \ |
| 106 F(AllocateInOldPointerSpace, 1, 1) \ | 105 F(AllocateInOldPointerSpace, 1, 1) \ |
| 107 F(AllocateInOldDataSpace, 1, 1) \ | 106 F(AllocateInOldDataSpace, 1, 1) \ |
| 108 F(SetNativeFlag, 1, 1) \ | 107 F(SetNativeFlag, 1, 1) \ |
| 109 F(StoreArrayLiteralElement, 5, 1) \ | 108 F(StoreArrayLiteralElement, 5, 1) \ |
| 110 F(DebugCallbackSupportsStepping, 1, 1) \ | 109 F(DebugCallbackSupportsStepping, 1, 1) \ |
| 111 F(DebugPrepareStepInIfStepping, 1, 1) \ | 110 F(DebugPrepareStepInIfStepping, 1, 1) \ |
| 112 F(FlattenString, 1, 1) \ | 111 F(FlattenString, 1, 1) \ |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 F(SetGetSize, 1, 1) \ | 335 F(SetGetSize, 1, 1) \ |
| 337 \ | 336 \ |
| 338 /* Harmony maps */ \ | 337 /* Harmony maps */ \ |
| 339 F(MapInitialize, 1, 1) \ | 338 F(MapInitialize, 1, 1) \ |
| 340 F(MapGet, 2, 1) \ | 339 F(MapGet, 2, 1) \ |
| 341 F(MapHas, 2, 1) \ | 340 F(MapHas, 2, 1) \ |
| 342 F(MapDelete, 2, 1) \ | 341 F(MapDelete, 2, 1) \ |
| 343 F(MapSet, 3, 1) \ | 342 F(MapSet, 3, 1) \ |
| 344 F(MapGetSize, 1, 1) \ | 343 F(MapGetSize, 1, 1) \ |
| 345 \ | 344 \ |
| 346 /* Harmony weakmaps */ \ | 345 /* Harmony weak maps and sets */ \ |
| 347 F(WeakMapInitialize, 1, 1) \ | 346 F(WeakCollectionInitialize, 1, 1) \ |
| 348 F(WeakMapGet, 2, 1) \ | 347 F(WeakCollectionGet, 2, 1) \ |
| 349 F(WeakMapHas, 2, 1) \ | 348 F(WeakCollectionHas, 2, 1) \ |
| 350 F(WeakMapDelete, 2, 1) \ | 349 F(WeakCollectionDelete, 2, 1) \ |
| 351 F(WeakMapSet, 3, 1) \ | 350 F(WeakCollectionSet, 3, 1) \ |
| 352 \ | 351 \ |
| 353 /* Harmony observe */ \ | 352 /* Harmony observe */ \ |
| 354 F(IsObserved, 1, 1) \ | 353 F(IsObserved, 1, 1) \ |
| 355 F(SetIsObserved, 1, 1) \ | 354 F(SetIsObserved, 1, 1) \ |
| 356 F(SetObserverDeliveryPending, 0, 1) \ | 355 F(SetObserverDeliveryPending, 0, 1) \ |
| 357 F(GetObservationState, 0, 1) \ | 356 F(GetObservationState, 0, 1) \ |
| 358 F(ObservationWeakMapCreate, 0, 1) \ | 357 F(ObservationWeakMapCreate, 0, 1) \ |
| 359 F(UnwrapGlobalProxy, 1, 1) \ | 358 F(UnwrapGlobalProxy, 1, 1) \ |
| 360 \ | 359 \ |
| 361 /* Harmony typed arrays */ \ | 360 /* Harmony typed arrays */ \ |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 //--------------------------------------------------------------------------- | 811 //--------------------------------------------------------------------------- |
| 813 // Constants used by interface to runtime functions. | 812 // Constants used by interface to runtime functions. |
| 814 | 813 |
| 815 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 814 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 816 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 815 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 817 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 816 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 818 | 817 |
| 819 } } // namespace v8::internal | 818 } } // namespace v8::internal |
| 820 | 819 |
| 821 #endif // V8_RUNTIME_H_ | 820 #endif // V8_RUNTIME_H_ |
| OLD | NEW |