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

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

Issue 1828253002: [builtins] Provide Math.floor as TurboFan builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Address feedback. 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/js/math.js ('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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 351
352 #define FOR_EACH_INTRINSIC_MATHS(F) \ 352 #define FOR_EACH_INTRINSIC_MATHS(F) \
353 F(MathLogRT, 1, 1) \ 353 F(MathLogRT, 1, 1) \
354 F(DoubleHi, 1, 1) \ 354 F(DoubleHi, 1, 1) \
355 F(DoubleLo, 1, 1) \ 355 F(DoubleLo, 1, 1) \
356 F(ConstructDouble, 2, 1) \ 356 F(ConstructDouble, 2, 1) \
357 F(RemPiO2, 2, 1) \ 357 F(RemPiO2, 2, 1) \
358 F(MathAtan2, 2, 1) \ 358 F(MathAtan2, 2, 1) \
359 F(MathExpRT, 1, 1) \ 359 F(MathExpRT, 1, 1) \
360 F(MathClz32, 1, 1) \ 360 F(MathClz32, 1, 1) \
361 F(MathFloor, 1, 1) \
362 F(MathPow, 2, 1) \ 361 F(MathPow, 2, 1) \
363 F(MathPowRT, 2, 1) \ 362 F(MathPowRT, 2, 1) \
364 F(RoundNumber, 1, 1) \ 363 F(RoundNumber, 1, 1) \
365 F(GenerateRandomNumbers, 1, 1) 364 F(GenerateRandomNumbers, 1, 1)
366 365
367 366
368 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 367 #define FOR_EACH_INTRINSIC_NUMBERS(F) \
369 F(NumberToRadixString, 2, 1) \ 368 F(NumberToRadixString, 2, 1) \
370 F(NumberToFixed, 2, 1) \ 369 F(NumberToFixed, 2, 1) \
371 F(NumberToExponential, 2, 1) \ 370 F(NumberToExponential, 2, 1) \
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 1184
1186 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1185 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1187 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1186 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1188 STATIC_ASSERT(LANGUAGE_END == 3); 1187 STATIC_ASSERT(LANGUAGE_END == 3);
1189 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1188 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1190 1189
1191 } // namespace internal 1190 } // namespace internal
1192 } // namespace v8 1191 } // namespace v8
1193 1192
1194 #endif // V8_RUNTIME_RUNTIME_H_ 1193 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/math.js ('k') | src/runtime/runtime-maths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698