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

Side by Side Diff: src/runtime.h

Issue 163563003: Harmony: implement Math.cbrt, Math.expm1 and Math.log1p. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: uploaded new Created 6 years, 10 months 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/harmony-math.js ('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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 F(StringEquals, 2, 1) \ 170 F(StringEquals, 2, 1) \
171 \ 171 \
172 F(NumberCompare, 3, 1) \ 172 F(NumberCompare, 3, 1) \
173 F(SmiLexicographicCompare, 2, 1) \ 173 F(SmiLexicographicCompare, 2, 1) \
174 F(StringCompare, 2, 1) \ 174 F(StringCompare, 2, 1) \
175 \ 175 \
176 /* Math */ \ 176 /* Math */ \
177 F(Math_acos, 1, 1) \ 177 F(Math_acos, 1, 1) \
178 F(Math_asin, 1, 1) \ 178 F(Math_asin, 1, 1) \
179 F(Math_atan, 1, 1) \ 179 F(Math_atan, 1, 1) \
180 F(Math_atan2, 2, 1) \ 180 F(Math_log, 1, 1) \
181 F(Math_cbrt, 1, 1) \
182 F(Math_log1p, 1, 1) \
183 F(Math_expm1, 1, 1) \
184 F(Math_sqrt, 1, 1) \
181 F(Math_exp, 1, 1) \ 185 F(Math_exp, 1, 1) \
182 F(Math_floor, 1, 1) \ 186 F(Math_floor, 1, 1) \
183 F(Math_log, 1, 1) \
184 F(Math_pow, 2, 1) \ 187 F(Math_pow, 2, 1) \
185 F(Math_pow_cfunction, 2, 1) \ 188 F(Math_pow_cfunction, 2, 1) \
189 F(Math_atan2, 2, 1) \
186 F(RoundNumber, 1, 1) \ 190 F(RoundNumber, 1, 1) \
187 F(Math_sqrt, 1, 1) \
188 F(Math_fround, 1, 1) \ 191 F(Math_fround, 1, 1) \
189 \ 192 \
190 /* Regular expressions */ \ 193 /* Regular expressions */ \
191 F(RegExpCompile, 3, 1) \ 194 F(RegExpCompile, 3, 1) \
192 F(RegExpExec, 4, 1) \ 195 F(RegExpExec, 4, 1) \
193 F(RegExpExecMultiple, 4, 1) \ 196 F(RegExpExecMultiple, 4, 1) \
194 F(RegExpInitializeObject, 5, 1) \ 197 F(RegExpInitializeObject, 5, 1) \
195 F(RegExpConstructResult, 3, 1) \ 198 F(RegExpConstructResult, 3, 1) \
196 \ 199 \
197 /* JSON */ \ 200 /* JSON */ \
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 872 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
870 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 873 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
871 874
872 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 875 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
873 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 876 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
874 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 877 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
875 878
876 } } // namespace v8::internal 879 } } // namespace v8::internal
877 880
878 #endif // V8_RUNTIME_H_ 881 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/harmony-math.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698