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

Side by Side Diff: src/objects.h

Issue 2125583002: [turbofan] Recognize fast path for Number.parseInt. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/compiler/js-builtin-reducer.cc ('k') | src/type-cache.h » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 6738 matching lines...) Expand 10 before | Expand all | Expand 10 after
6749 V(Math, acos, MathAcos) \ 6749 V(Math, acos, MathAcos) \
6750 V(Math, acosh, MathAcosh) \ 6750 V(Math, acosh, MathAcosh) \
6751 V(Math, asin, MathAsin) \ 6751 V(Math, asin, MathAsin) \
6752 V(Math, asinh, MathAsinh) \ 6752 V(Math, asinh, MathAsinh) \
6753 V(Math, atan, MathAtan) \ 6753 V(Math, atan, MathAtan) \
6754 V(Math, atan2, MathAtan2) \ 6754 V(Math, atan2, MathAtan2) \
6755 V(Math, atanh, MathAtanh) \ 6755 V(Math, atanh, MathAtanh) \
6756 V(Math, imul, MathImul) \ 6756 V(Math, imul, MathImul) \
6757 V(Math, clz32, MathClz32) \ 6757 V(Math, clz32, MathClz32) \
6758 V(Math, fround, MathFround) \ 6758 V(Math, fround, MathFround) \
6759 V(Math, trunc, MathTrunc) 6759 V(Math, trunc, MathTrunc) \
6760 V(Number, parseInt, NumberParseInt)
6760 6761
6761 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ 6762 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
6762 V(Atomics, load, AtomicsLoad) \ 6763 V(Atomics, load, AtomicsLoad) \
6763 V(Atomics, store, AtomicsStore) 6764 V(Atomics, store, AtomicsStore)
6764 6765
6765 enum BuiltinFunctionId { 6766 enum BuiltinFunctionId {
6766 kArrayCode, 6767 kArrayCode,
6767 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ 6768 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
6768 k##name, 6769 k##name,
6769 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) 6770 FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID)
(...skipping 4198 matching lines...) Expand 10 before | Expand all | Expand 10 after
10968 } 10969 }
10969 return value; 10970 return value;
10970 } 10971 }
10971 }; 10972 };
10972 10973
10973 10974
10974 } // NOLINT, false-positive due to second-order macros. 10975 } // NOLINT, false-positive due to second-order macros.
10975 } // NOLINT, false-positive due to second-order macros. 10976 } // NOLINT, false-positive due to second-order macros.
10976 10977
10977 #endif // V8_OBJECTS_H_ 10978 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/compiler/js-builtin-reducer.cc ('k') | src/type-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698