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

Side by Side Diff: src/runtime.h

Issue 82763005: Reland "Implement Math.random() purely in JavaScript" plus fixes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added assertion Created 7 years, 1 month 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/objects-inl.h ('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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 F(ArgumentsLength, 0, 1) \ 615 F(ArgumentsLength, 0, 1) \
616 F(Arguments, 1, 1) \ 616 F(Arguments, 1, 1) \
617 F(ValueOf, 1, 1) \ 617 F(ValueOf, 1, 1) \
618 F(SetValueOf, 2, 1) \ 618 F(SetValueOf, 2, 1) \
619 F(DateField, 2 /* date object, field index */, 1) \ 619 F(DateField, 2 /* date object, field index */, 1) \
620 F(StringCharFromCode, 1, 1) \ 620 F(StringCharFromCode, 1, 1) \
621 F(StringCharAt, 2, 1) \ 621 F(StringCharAt, 2, 1) \
622 F(OneByteSeqStringSetChar, 3, 1) \ 622 F(OneByteSeqStringSetChar, 3, 1) \
623 F(TwoByteSeqStringSetChar, 3, 1) \ 623 F(TwoByteSeqStringSetChar, 3, 1) \
624 F(ObjectEquals, 2, 1) \ 624 F(ObjectEquals, 2, 1) \
625 F(RandomHeapNumber, 0, 1) \
626 F(IsObject, 1, 1) \ 625 F(IsObject, 1, 1) \
627 F(IsFunction, 1, 1) \ 626 F(IsFunction, 1, 1) \
628 F(IsUndetectableObject, 1, 1) \ 627 F(IsUndetectableObject, 1, 1) \
629 F(IsSpecObject, 1, 1) \ 628 F(IsSpecObject, 1, 1) \
630 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ 629 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \
631 F(MathPow, 2, 1) \ 630 F(MathPow, 2, 1) \
632 F(MathSqrt, 1, 1) \ 631 F(MathSqrt, 1, 1) \
633 F(MathLog, 1, 1) \ 632 F(MathLog, 1, 1) \
634 F(IsMinusZero, 1, 1) \ 633 F(IsMinusZero, 1, 1) \
635 F(IsRegExpEquivalent, 2, 1) \ 634 F(IsRegExpEquivalent, 2, 1) \
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 846 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
848 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 847 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
849 848
850 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 849 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
851 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 850 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
852 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 851 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
853 852
854 } } // namespace v8::internal 853 } } // namespace v8::internal
855 854
856 #endif // V8_RUNTIME_H_ 855 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698