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

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

Issue 1852553003: [builtins] Migrate Math.clz32 to a TurboFan builtin. (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/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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 349
350 350
351 #define FOR_EACH_INTRINSIC_MATHS(F) \ 351 #define FOR_EACH_INTRINSIC_MATHS(F) \
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) \
360 F(MathPow, 2, 1) \ 359 F(MathPow, 2, 1) \
361 F(MathPowRT, 2, 1) \ 360 F(MathPowRT, 2, 1) \
362 F(GenerateRandomNumbers, 1, 1) 361 F(GenerateRandomNumbers, 1, 1)
363 362
364 363
365 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 364 #define FOR_EACH_INTRINSIC_NUMBERS(F) \
366 F(NumberToRadixString, 2, 1) \ 365 F(NumberToRadixString, 2, 1) \
367 F(NumberToFixed, 2, 1) \ 366 F(NumberToFixed, 2, 1) \
368 F(NumberToExponential, 2, 1) \ 367 F(NumberToExponential, 2, 1) \
369 F(NumberToPrecision, 2, 1) \ 368 F(NumberToPrecision, 2, 1) \
(...skipping 813 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/js/math.js ('k') | src/runtime/runtime-maths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698