Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: src/runtime.h

Issue 70003004: Reland "Implement Math.sin, cos and tan using table lookup and spline interpolation." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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) \
109 F(StoreArrayLiteralElement, 5, 1) \ 110 F(StoreArrayLiteralElement, 5, 1) \
110 F(DebugCallbackSupportsStepping, 1, 1) \ 111 F(DebugCallbackSupportsStepping, 1, 1) \
111 F(DebugPrepareStepInIfStepping, 1, 1) \ 112 F(DebugPrepareStepInIfStepping, 1, 1) \
112 F(FlattenString, 1, 1) \ 113 F(FlattenString, 1, 1) \
113 F(MigrateInstance, 1, 1) \ 114 F(MigrateInstance, 1, 1) \
114 F(NotifyContextDisposed, 0, 1) \ 115 F(NotifyContextDisposed, 0, 1) \
115 \ 116 \
116 /* Array join support */ \ 117 /* Array join support */ \
117 F(PushIfAbsent, 2, 1) \ 118 F(PushIfAbsent, 2, 1) \
118 F(ArrayConcat, 1, 1) \ 119 F(ArrayConcat, 1, 1) \
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 F(Math_cos, 1, 1) \ 183 F(Math_cos, 1, 1) \
183 F(Math_exp, 1, 1) \ 184 F(Math_exp, 1, 1) \
184 F(Math_floor, 1, 1) \ 185 F(Math_floor, 1, 1) \
185 F(Math_log, 1, 1) \ 186 F(Math_log, 1, 1) \
186 F(Math_pow, 2, 1) \ 187 F(Math_pow, 2, 1) \
187 F(Math_pow_cfunction, 2, 1) \ 188 F(Math_pow_cfunction, 2, 1) \
188 F(RoundNumber, 1, 1) \ 189 F(RoundNumber, 1, 1) \
189 F(Math_sin, 1, 1) \ 190 F(Math_sin, 1, 1) \
190 F(Math_sqrt, 1, 1) \ 191 F(Math_sqrt, 1, 1) \
191 F(Math_tan, 1, 1) \ 192 F(Math_tan, 1, 1) \
193 F(PopulateTrigonometricTable, 3, 1) \
192 \ 194 \
193 /* Regular expressions */ \ 195 /* Regular expressions */ \
194 F(RegExpCompile, 3, 1) \ 196 F(RegExpCompile, 3, 1) \
195 F(RegExpExec, 4, 1) \ 197 F(RegExpExec, 4, 1) \
196 F(RegExpExecMultiple, 4, 1) \ 198 F(RegExpExecMultiple, 4, 1) \
197 F(RegExpInitializeObject, 5, 1) \ 199 F(RegExpInitializeObject, 5, 1) \
198 F(RegExpConstructResult, 3, 1) \ 200 F(RegExpConstructResult, 3, 1) \
199 \ 201 \
200 /* JSON */ \ 202 /* JSON */ \
201 F(ParseJson, 1, 1) \ 203 F(ParseJson, 1, 1) \
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 F(OneByteSeqStringSetChar, 3, 1) \ 620 F(OneByteSeqStringSetChar, 3, 1) \
619 F(TwoByteSeqStringSetChar, 3, 1) \ 621 F(TwoByteSeqStringSetChar, 3, 1) \
620 F(ObjectEquals, 2, 1) \ 622 F(ObjectEquals, 2, 1) \
621 F(RandomHeapNumber, 0, 1) \ 623 F(RandomHeapNumber, 0, 1) \
622 F(IsObject, 1, 1) \ 624 F(IsObject, 1, 1) \
623 F(IsFunction, 1, 1) \ 625 F(IsFunction, 1, 1) \
624 F(IsUndetectableObject, 1, 1) \ 626 F(IsUndetectableObject, 1, 1) \
625 F(IsSpecObject, 1, 1) \ 627 F(IsSpecObject, 1, 1) \
626 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ 628 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \
627 F(MathPow, 2, 1) \ 629 F(MathPow, 2, 1) \
628 F(MathSin, 1, 1) \
629 F(MathCos, 1, 1) \
630 F(MathTan, 1, 1) \
631 F(MathSqrt, 1, 1) \ 630 F(MathSqrt, 1, 1) \
632 F(MathLog, 1, 1) \ 631 F(MathLog, 1, 1) \
633 F(IsMinusZero, 1, 1) \ 632 F(IsMinusZero, 1, 1) \
634 F(IsRegExpEquivalent, 2, 1) \ 633 F(IsRegExpEquivalent, 2, 1) \
635 F(HasCachedArrayIndex, 1, 1) \ 634 F(HasCachedArrayIndex, 1, 1) \
636 F(GetCachedArrayIndex, 1, 1) \ 635 F(GetCachedArrayIndex, 1, 1) \
637 F(FastAsciiArrayJoin, 2, 1) \ 636 F(FastAsciiArrayJoin, 2, 1) \
638 F(GeneratorNext, 2, 1) \ 637 F(GeneratorNext, 2, 1) \
639 F(GeneratorThrow, 2, 1) \ 638 F(GeneratorThrow, 2, 1) \
640 F(DebugBreakInOptimizedCode, 0, 1) 639 F(DebugBreakInOptimizedCode, 0, 1)
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 //--------------------------------------------------------------------------- 842 //---------------------------------------------------------------------------
844 // Constants used by interface to runtime functions. 843 // Constants used by interface to runtime functions.
845 844
846 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 845 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
847 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 846 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
848 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 847 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
849 848
850 } } // namespace v8::internal 849 } } // namespace v8::internal
851 850
852 #endif // V8_RUNTIME_H_ 851 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698