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

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

Issue 1464303002: Implement xorshift128+ for Math.random. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add missing include Created 5 years 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/prologue.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/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 F(MathAtan2, 2, 1) \ 397 F(MathAtan2, 2, 1) \
398 F(MathExpRT, 1, 1) \ 398 F(MathExpRT, 1, 1) \
399 F(MathClz32, 1, 1) \ 399 F(MathClz32, 1, 1) \
400 F(MathFloor, 1, 1) \ 400 F(MathFloor, 1, 1) \
401 F(MathPow, 2, 1) \ 401 F(MathPow, 2, 1) \
402 F(MathPowRT, 2, 1) \ 402 F(MathPowRT, 2, 1) \
403 F(RoundNumber, 1, 1) \ 403 F(RoundNumber, 1, 1) \
404 F(MathSqrt, 1, 1) \ 404 F(MathSqrt, 1, 1) \
405 F(MathFround, 1, 1) \ 405 F(MathFround, 1, 1) \
406 F(IsMinusZero, 1, 1) \ 406 F(IsMinusZero, 1, 1) \
407 F(InitializeRNG, 0, 1) 407 F(GenerateRandomNumbers, 1, 1)
408 408
409 409
410 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 410 #define FOR_EACH_INTRINSIC_NUMBERS(F) \
411 F(NumberToRadixString, 2, 1) \ 411 F(NumberToRadixString, 2, 1) \
412 F(NumberToFixed, 2, 1) \ 412 F(NumberToFixed, 2, 1) \
413 F(NumberToExponential, 2, 1) \ 413 F(NumberToExponential, 2, 1) \
414 F(NumberToPrecision, 2, 1) \ 414 F(NumberToPrecision, 2, 1) \
415 F(IsValidSmi, 1, 1) \ 415 F(IsValidSmi, 1, 1) \
416 F(StringToNumber, 1, 1) \ 416 F(StringToNumber, 1, 1) \
417 F(StringParseInt, 2, 1) \ 417 F(StringParseInt, 2, 1) \
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 1261
1262 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1262 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1263 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1263 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1264 STATIC_ASSERT(LANGUAGE_END == 3); 1264 STATIC_ASSERT(LANGUAGE_END == 3);
1265 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1265 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1266 1266
1267 } // namespace internal 1267 } // namespace internal
1268 } // namespace v8 1268 } // namespace v8
1269 1269
1270 #endif // V8_RUNTIME_RUNTIME_H_ 1270 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/prologue.js ('k') | src/runtime/runtime-maths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698