| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(NeverOptimizeFunction, 1, 1) \ | 100 F(NeverOptimizeFunction, 1, 1) \ |
| 101 F(GetOptimizationStatus, -1, 1) \ | 101 F(GetOptimizationStatus, -1, 1) \ |
| 102 F(GetOptimizationCount, 1, 1) \ | 102 F(GetOptimizationCount, 1, 1) \ |
| 103 F(CompileForOnStackReplacement, 1, 1) \ | 103 F(CompileForOnStackReplacement, 1, 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) \ |
| 112 F(MigrateInstance, 1, 1) \ | 113 F(MigrateInstance, 1, 1) \ |
| 113 \ | 114 \ |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 \ | 547 \ |
| 547 /* Date format and parse. */ \ | 548 /* Date format and parse. */ \ |
| 548 F(CreateDateTimeFormat, 3, 1) \ | 549 F(CreateDateTimeFormat, 3, 1) \ |
| 549 F(InternalDateFormat, 2, 1) \ | 550 F(InternalDateFormat, 2, 1) \ |
| 550 F(InternalDateParse, 2, 1) \ | 551 F(InternalDateParse, 2, 1) \ |
| 551 \ | 552 \ |
| 552 /* Number format and parse. */ \ | 553 /* Number format and parse. */ \ |
| 553 F(CreateNumberFormat, 3, 1) \ | 554 F(CreateNumberFormat, 3, 1) \ |
| 554 F(InternalNumberFormat, 2, 1) \ | 555 F(InternalNumberFormat, 2, 1) \ |
| 555 F(InternalNumberParse, 2, 1) \ | 556 F(InternalNumberParse, 2, 1) \ |
| 557 \ |
| 558 /* Collator. */ \ |
| 559 F(CreateCollator, 3, 1) \ |
| 560 F(InternalCompare, 3, 1) \ |
| 561 \ |
| 562 /* Break iterator. */ \ |
| 563 F(CreateBreakIterator, 3, 1) \ |
| 564 F(BreakIteratorAdoptText, 2, 1) \ |
| 565 F(BreakIteratorFirst, 1, 1) \ |
| 566 F(BreakIteratorNext, 1, 1) \ |
| 567 F(BreakIteratorCurrent, 1, 1) \ |
| 568 F(BreakIteratorBreakType, 1, 1) \ |
| 556 | 569 |
| 557 #else | 570 #else |
| 558 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) | 571 #define RUNTIME_FUNCTION_LIST_I18N_SUPPORT(F) |
| 559 #endif | 572 #endif |
| 560 | 573 |
| 561 | 574 |
| 562 #ifdef DEBUG | 575 #ifdef DEBUG |
| 563 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ | 576 #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ |
| 564 /* Testing */ \ | 577 /* Testing */ \ |
| 565 F(ListNatives, 0, 1) | 578 F(ListNatives, 0, 1) |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 //--------------------------------------------------------------------------- | 845 //--------------------------------------------------------------------------- |
| 833 // Constants used by interface to runtime functions. | 846 // Constants used by interface to runtime functions. |
| 834 | 847 |
| 835 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 848 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
| 836 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 849 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
| 837 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 850 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
| 838 | 851 |
| 839 } } // namespace v8::internal | 852 } } // namespace v8::internal |
| 840 | 853 |
| 841 #endif // V8_RUNTIME_H_ | 854 #endif // V8_RUNTIME_H_ |
| OLD | NEW |