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

Side by Side Diff: src/runtime.h

Issue 22600005: Eliminate intentional conversion from Smi to Int32 in HMul (Closed) Base URL: https://github.com/v8/v8.git@master
Patch Set: Fixed navier stokes benchmark fails Created 7 years, 4 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
« no previous file with comments | « src/hydrogen-representation-changes.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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 F(StringTrim, 3, 1) \ 212 F(StringTrim, 3, 1) \
213 F(StringToArray, 2, 1) \ 213 F(StringToArray, 2, 1) \
214 F(NewStringWrapper, 1, 1) \ 214 F(NewStringWrapper, 1, 1) \
215 F(NewString, 2, 1) \ 215 F(NewString, 2, 1) \
216 F(TruncateString, 2, 1) \ 216 F(TruncateString, 2, 1) \
217 \ 217 \
218 /* Numbers */ \ 218 /* Numbers */ \
219 F(NumberToRadixString, 2, 1) \ 219 F(NumberToRadixString, 2, 1) \
220 F(NumberToFixed, 2, 1) \ 220 F(NumberToFixed, 2, 1) \
221 F(NumberToExponential, 2, 1) \ 221 F(NumberToExponential, 2, 1) \
222 F(NumberToPrecision, 2, 1) 222 F(NumberToPrecision, 2, 1) \
223 F(IsValidSmi, 1, 1)
223 224
224 225
225 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 226 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
226 /* Reflection */ \ 227 /* Reflection */ \
227 F(FunctionSetInstanceClassName, 2, 1) \ 228 F(FunctionSetInstanceClassName, 2, 1) \
228 F(FunctionSetLength, 2, 1) \ 229 F(FunctionSetLength, 2, 1) \
229 F(FunctionSetPrototype, 2, 1) \ 230 F(FunctionSetPrototype, 2, 1) \
230 F(FunctionSetReadOnlyPrototype, 1, 1) \ 231 F(FunctionSetReadOnlyPrototype, 1, 1) \
231 F(FunctionGetName, 1, 1) \ 232 F(FunctionGetName, 1, 1) \
232 F(FunctionSetName, 2, 1) \ 233 F(FunctionSetName, 2, 1) \
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 //--------------------------------------------------------------------------- 837 //---------------------------------------------------------------------------
837 // Constants used by interface to runtime functions. 838 // Constants used by interface to runtime functions.
838 839
839 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 840 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
840 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 841 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
841 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {}; 842 class DeclareGlobalsLanguageMode: public BitField<LanguageMode, 2, 2> {};
842 843
843 } } // namespace v8::internal 844 } } // namespace v8::internal
844 845
845 #endif // V8_RUNTIME_H_ 846 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/hydrogen-representation-changes.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698