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

Side by Side Diff: src/runtime.h

Issue 178583006: Introduce intrinsics for double values in Javascript. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: test 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 F(Math_log1p, 1, 1) \ 182 F(Math_log1p, 1, 1) \
183 F(Math_expm1, 1, 1) \ 183 F(Math_expm1, 1, 1) \
184 F(Math_sqrt, 1, 1) \ 184 F(Math_sqrt, 1, 1) \
185 F(Math_exp, 1, 1) \ 185 F(Math_exp, 1, 1) \
186 F(Math_floor, 1, 1) \ 186 F(Math_floor, 1, 1) \
187 F(Math_pow, 2, 1) \ 187 F(Math_pow, 2, 1) \
188 F(Math_pow_cfunction, 2, 1) \ 188 F(Math_pow_cfunction, 2, 1) \
189 F(Math_atan2, 2, 1) \ 189 F(Math_atan2, 2, 1) \
190 F(RoundNumber, 1, 1) \ 190 F(RoundNumber, 1, 1) \
191 F(Math_fround, 1, 1) \ 191 F(Math_fround, 1, 1) \
192 F(DoubleHi, 1, 1) \
193 F(DoubleLo, 1, 1) \
194 F(ConstructDouble, 2, 1) \
192 \ 195 \
193 /* Regular expressions */ \ 196 /* Regular expressions */ \
194 F(RegExpCompile, 3, 1) \ 197 F(RegExpCompile, 3, 1) \
195 F(RegExpExec, 4, 1) \ 198 F(RegExpExec, 4, 1) \
196 F(RegExpExecMultiple, 4, 1) \ 199 F(RegExpExecMultiple, 4, 1) \
197 F(RegExpInitializeObject, 5, 1) \ 200 F(RegExpInitializeObject, 5, 1) \
198 F(RegExpConstructResult, 3, 1) \ 201 F(RegExpConstructResult, 3, 1) \
199 \ 202 \
200 /* JSON */ \ 203 /* JSON */ \
201 F(ParseJson, 1, 1) \ 204 F(ParseJson, 1, 1) \
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 #define INLINE_RUNTIME_FUNCTION_LIST(F) \ 663 #define INLINE_RUNTIME_FUNCTION_LIST(F) \
661 F(ClassOf, 1, 1) \ 664 F(ClassOf, 1, 1) \
662 F(StringCharCodeAt, 2, 1) \ 665 F(StringCharCodeAt, 2, 1) \
663 F(Log, 3, 1) \ 666 F(Log, 3, 1) \
664 F(StringAdd, 2, 1) \ 667 F(StringAdd, 2, 1) \
665 F(SubString, 3, 1) \ 668 F(SubString, 3, 1) \
666 F(StringCompare, 2, 1) \ 669 F(StringCompare, 2, 1) \
667 F(RegExpExec, 4, 1) \ 670 F(RegExpExec, 4, 1) \
668 F(RegExpConstructResult, 3, 1) \ 671 F(RegExpConstructResult, 3, 1) \
669 F(GetFromCache, 2, 1) \ 672 F(GetFromCache, 2, 1) \
670 F(NumberToString, 1, 1) 673 F(NumberToString, 1, 1) \
674 F(DoubleHi, 1, 1) \
675 F(DoubleLo, 1, 1) \
676 F(ConstructDouble, 2, 1)
671 677
672 678
673 //--------------------------------------------------------------------------- 679 //---------------------------------------------------------------------------
674 // Runtime provides access to all C++ runtime functions. 680 // Runtime provides access to all C++ runtime functions.
675 681
676 class RuntimeState { 682 class RuntimeState {
677 public: 683 public:
678 StaticResource<ConsStringIteratorOp>* string_iterator() { 684 StaticResource<ConsStringIteratorOp>* string_iterator() {
679 return &string_iterator_; 685 return &string_iterator_;
680 } 686 }
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 880 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
875 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 881 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
876 882
877 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 883 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
878 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 884 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
879 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 885 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
880 886
881 } } // namespace v8::internal 887 } } // namespace v8::internal
882 888
883 #endif // V8_RUNTIME_H_ 889 #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