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

Side by Side Diff: src/runtime/runtime.h

Issue 1841993002: [builtins] Make Math.ceil, Math.trunc and Math.round optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « src/objects.h ('k') | src/runtime/runtime-maths.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 F(MathLogRT, 1, 1) \ 352 F(MathLogRT, 1, 1) \
353 F(DoubleHi, 1, 1) \ 353 F(DoubleHi, 1, 1) \
354 F(DoubleLo, 1, 1) \ 354 F(DoubleLo, 1, 1) \
355 F(ConstructDouble, 2, 1) \ 355 F(ConstructDouble, 2, 1) \
356 F(RemPiO2, 2, 1) \ 356 F(RemPiO2, 2, 1) \
357 F(MathAtan2, 2, 1) \ 357 F(MathAtan2, 2, 1) \
358 F(MathExpRT, 1, 1) \ 358 F(MathExpRT, 1, 1) \
359 F(MathClz32, 1, 1) \ 359 F(MathClz32, 1, 1) \
360 F(MathPow, 2, 1) \ 360 F(MathPow, 2, 1) \
361 F(MathPowRT, 2, 1) \ 361 F(MathPowRT, 2, 1) \
362 F(RoundNumber, 1, 1) \
363 F(GenerateRandomNumbers, 1, 1) 362 F(GenerateRandomNumbers, 1, 1)
364 363
365 364
366 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 365 #define FOR_EACH_INTRINSIC_NUMBERS(F) \
367 F(NumberToRadixString, 2, 1) \ 366 F(NumberToRadixString, 2, 1) \
368 F(NumberToFixed, 2, 1) \ 367 F(NumberToFixed, 2, 1) \
369 F(NumberToExponential, 2, 1) \ 368 F(NumberToExponential, 2, 1) \
370 F(NumberToPrecision, 2, 1) \ 369 F(NumberToPrecision, 2, 1) \
371 F(IsValidSmi, 1, 1) \ 370 F(IsValidSmi, 1, 1) \
372 F(StringToNumber, 1, 1) \ 371 F(StringToNumber, 1, 1) \
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 1182
1184 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1183 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1185 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1184 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1186 STATIC_ASSERT(LANGUAGE_END == 3); 1185 STATIC_ASSERT(LANGUAGE_END == 3);
1187 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1186 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1188 1187
1189 } // namespace internal 1188 } // namespace internal
1190 } // namespace v8 1189 } // namespace v8
1191 1190
1192 #endif // V8_RUNTIME_RUNTIME_H_ 1191 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime/runtime-maths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698