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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(AllocateInOldPointerSpace, 1, 1) \ |
107 F(AllocateInOldDataSpace, 1, 1) \ | 107 F(AllocateInOldDataSpace, 1, 1) \ |
108 F(SetNativeFlag, 1, 1) \ | 108 F(SetNativeFlag, 1, 1) \ |
109 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 */ \ |
118 F(PushIfAbsent, 2, 1) \ | 117 F(PushIfAbsent, 2, 1) \ |
119 F(ArrayConcat, 1, 1) \ | 118 F(ArrayConcat, 1, 1) \ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 F(Math_cos, 1, 1) \ | 182 F(Math_cos, 1, 1) \ |
184 F(Math_exp, 1, 1) \ | 183 F(Math_exp, 1, 1) \ |
185 F(Math_floor, 1, 1) \ | 184 F(Math_floor, 1, 1) \ |
186 F(Math_log, 1, 1) \ | 185 F(Math_log, 1, 1) \ |
187 F(Math_pow, 2, 1) \ | 186 F(Math_pow, 2, 1) \ |
188 F(Math_pow_cfunction, 2, 1) \ | 187 F(Math_pow_cfunction, 2, 1) \ |
189 F(RoundNumber, 1, 1) \ | 188 F(RoundNumber, 1, 1) \ |
190 F(Math_sin, 1, 1) \ | 189 F(Math_sin, 1, 1) \ |
191 F(Math_sqrt, 1, 1) \ | 190 F(Math_sqrt, 1, 1) \ |
192 F(Math_tan, 1, 1) \ | 191 F(Math_tan, 1, 1) \ |
193 F(PopulateTrigonometricTable, 3, 1) \ | |
194 \ | 192 \ |
195 /* Regular expressions */ \ | 193 /* Regular expressions */ \ |
196 F(RegExpCompile, 3, 1) \ | 194 F(RegExpCompile, 3, 1) \ |
197 F(RegExpExec, 4, 1) \ | 195 F(RegExpExec, 4, 1) \ |
198 F(RegExpExecMultiple, 4, 1) \ | 196 F(RegExpExecMultiple, 4, 1) \ |
199 F(RegExpInitializeObject, 5, 1) \ | 197 F(RegExpInitializeObject, 5, 1) \ |
200 F(RegExpConstructResult, 3, 1) \ | 198 F(RegExpConstructResult, 3, 1) \ |
201 \ | 199 \ |
202 /* JSON */ \ | 200 /* JSON */ \ |
203 F(ParseJson, 1, 1) \ | 201 F(ParseJson, 1, 1) \ |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 F(OneByteSeqStringSetChar, 3, 1) \ | 618 F(OneByteSeqStringSetChar, 3, 1) \ |
621 F(TwoByteSeqStringSetChar, 3, 1) \ | 619 F(TwoByteSeqStringSetChar, 3, 1) \ |
622 F(ObjectEquals, 2, 1) \ | 620 F(ObjectEquals, 2, 1) \ |
623 F(RandomHeapNumber, 0, 1) \ | 621 F(RandomHeapNumber, 0, 1) \ |
624 F(IsObject, 1, 1) \ | 622 F(IsObject, 1, 1) \ |
625 F(IsFunction, 1, 1) \ | 623 F(IsFunction, 1, 1) \ |
626 F(IsUndetectableObject, 1, 1) \ | 624 F(IsUndetectableObject, 1, 1) \ |
627 F(IsSpecObject, 1, 1) \ | 625 F(IsSpecObject, 1, 1) \ |
628 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ | 626 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ |
629 F(MathPow, 2, 1) \ | 627 F(MathPow, 2, 1) \ |
| 628 F(MathSin, 1, 1) \ |
| 629 F(MathCos, 1, 1) \ |
| 630 F(MathTan, 1, 1) \ |
630 F(MathSqrt, 1, 1) \ | 631 F(MathSqrt, 1, 1) \ |
631 F(MathLog, 1, 1) \ | 632 F(MathLog, 1, 1) \ |
632 F(MathFloor, 1, 1) \ | |
633 F(IsRegExpEquivalent, 2, 1) \ | 633 F(IsRegExpEquivalent, 2, 1) \ |
634 F(HasCachedArrayIndex, 1, 1) \ | 634 F(HasCachedArrayIndex, 1, 1) \ |
635 F(GetCachedArrayIndex, 1, 1) \ | 635 F(GetCachedArrayIndex, 1, 1) \ |
636 F(FastAsciiArrayJoin, 2, 1) \ | 636 F(FastAsciiArrayJoin, 2, 1) \ |
637 F(GeneratorNext, 2, 1) \ | 637 F(GeneratorNext, 2, 1) \ |
638 F(GeneratorThrow, 2, 1) \ | 638 F(GeneratorThrow, 2, 1) \ |
639 F(DebugBreakInOptimizedCode, 0, 1) | 639 F(DebugBreakInOptimizedCode, 0, 1) |
640 | 640 |
641 | 641 |
642 // ---------------------------------------------------------------------------- | 642 // ---------------------------------------------------------------------------- |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 //--------------------------------------------------------------------------- | 842 //--------------------------------------------------------------------------- |
843 // Constants used by interface to runtime functions. | 843 // Constants used by interface to runtime functions. |
844 | 844 |
845 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 845 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
846 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 846 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
847 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; | 847 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; |
848 | 848 |
849 } } // namespace v8::internal | 849 } } // namespace v8::internal |
850 | 850 |
851 #endif // V8_RUNTIME_H_ | 851 #endif // V8_RUNTIME_H_ |
OLD | NEW |