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

Side by Side Diff: src/runtime.h

Issue 14471041: Implement support for Math.imul in Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« src/math.js ('K') | « src/objects.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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 F(AllocateHeapNumber, 0, 1) \ 138 F(AllocateHeapNumber, 0, 1) \
139 \ 139 \
140 /* Arithmetic operations */ \ 140 /* Arithmetic operations */ \
141 F(NumberAdd, 2, 1) \ 141 F(NumberAdd, 2, 1) \
142 F(NumberSub, 2, 1) \ 142 F(NumberSub, 2, 1) \
143 F(NumberMul, 2, 1) \ 143 F(NumberMul, 2, 1) \
144 F(NumberDiv, 2, 1) \ 144 F(NumberDiv, 2, 1) \
145 F(NumberMod, 2, 1) \ 145 F(NumberMod, 2, 1) \
146 F(NumberUnaryMinus, 1, 1) \ 146 F(NumberUnaryMinus, 1, 1) \
147 F(NumberAlloc, 0, 1) \ 147 F(NumberAlloc, 0, 1) \
148 F(NumberImul, 2, 1) \
148 \ 149 \
149 F(StringAdd, 2, 1) \ 150 F(StringAdd, 2, 1) \
150 F(StringBuilderConcat, 3, 1) \ 151 F(StringBuilderConcat, 3, 1) \
151 F(StringBuilderJoin, 3, 1) \ 152 F(StringBuilderJoin, 3, 1) \
152 F(SparseJoinWithSeparator, 3, 1) \ 153 F(SparseJoinWithSeparator, 3, 1) \
153 \ 154 \
154 /* Bit operations */ \ 155 /* Bit operations */ \
155 F(NumberOr, 2, 1) \ 156 F(NumberOr, 2, 1) \
156 F(NumberAnd, 2, 1) \ 157 F(NumberAnd, 2, 1) \
157 F(NumberXor, 2, 1) \ 158 F(NumberXor, 2, 1) \
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 //--------------------------------------------------------------------------- 763 //---------------------------------------------------------------------------
763 // Constants used by interface to runtime functions. 764 // Constants used by interface to runtime functions.
764 765
765 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 766 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
766 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 767 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
767 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 768 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
768 769
769 } } // namespace v8::internal 770 } } // namespace v8::internal
770 771
771 #endif // V8_RUNTIME_H_ 772 #endif // V8_RUNTIME_H_
OLDNEW
« src/math.js ('K') | « src/objects.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698