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

Side by Side Diff: src/runtime.h

Issue 189823003: Reland "Introduce intrinsics for double values in Javascript." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-ia32.cc ('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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 649 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
650 F(ClassOf, 1, 1) \ 650 F(ClassOf, 1, 1) \
651 F(StringCharCodeAt, 2, 1) \ 651 F(StringCharCodeAt, 2, 1) \
652 F(Log, 3, 1) \ 652 F(Log, 3, 1) \
653 F(StringAdd, 2, 1) \ 653 F(StringAdd, 2, 1) \
654 F(SubString, 3, 1) \ 654 F(SubString, 3, 1) \
655 F(StringCompare, 2, 1) \ 655 F(StringCompare, 2, 1) \
656 F(RegExpExec, 4, 1) \ 656 F(RegExpExec, 4, 1) \
657 F(RegExpConstructResult, 3, 1) \ 657 F(RegExpConstructResult, 3, 1) \
658 F(GetFromCache, 2, 1) \ 658 F(GetFromCache, 2, 1) \
659 F(NumberToString, 1, 1) 659 F(NumberToString, 1, 1) \
660 F(DoubleHi, 1, 1) \
661 F(DoubleLo, 1, 1) \
662 F(ConstructDouble, 2, 1)
660 663
661 664
662 //--------------------------------------------------------------------------- 665 //---------------------------------------------------------------------------
663 // Runtime provides access to all C++ runtime functions. 666 // Runtime provides access to all C++ runtime functions.
664 667
665 class RuntimeState { 668 class RuntimeState {
666 public: 669 public:
667 StaticResource<ConsStringIteratorOp>* string_iterator() { 670 StaticResource<ConsStringIteratorOp>* string_iterator() {
668 return &string_iterator_; 671 return &string_iterator_;
669 } 672 }
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 865 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
863 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 866 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
864 867
865 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 868 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
866 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 869 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
867 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 870 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
868 871
869 } } // namespace v8::internal 872 } } // namespace v8::internal
870 873
871 #endif // V8_RUNTIME_H_ 874 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698