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/objects.h

Issue 2395373002: [builtins] Migrate Number.parseFloat to a TurboFan builtin. (Closed)
Patch Set: Fix the -0 corner case. Created 4 years, 2 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/js/v8natives.js ('k') | test/cctest/test-serialize.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 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 #include <memory> 9 #include <memory>
10 10
(...skipping 7053 matching lines...) Expand 10 before | Expand all | Expand 10 after
7064 V(Math, atan2, MathAtan2) \ 7064 V(Math, atan2, MathAtan2) \
7065 V(Math, atanh, MathAtanh) \ 7065 V(Math, atanh, MathAtanh) \
7066 V(Math, imul, MathImul) \ 7066 V(Math, imul, MathImul) \
7067 V(Math, clz32, MathClz32) \ 7067 V(Math, clz32, MathClz32) \
7068 V(Math, fround, MathFround) \ 7068 V(Math, fround, MathFround) \
7069 V(Math, trunc, MathTrunc) \ 7069 V(Math, trunc, MathTrunc) \
7070 V(Number, isFinite, NumberIsFinite) \ 7070 V(Number, isFinite, NumberIsFinite) \
7071 V(Number, isInteger, NumberIsInteger) \ 7071 V(Number, isInteger, NumberIsInteger) \
7072 V(Number, isNaN, NumberIsNaN) \ 7072 V(Number, isNaN, NumberIsNaN) \
7073 V(Number, isSafeInteger, NumberIsSafeInteger) \ 7073 V(Number, isSafeInteger, NumberIsSafeInteger) \
7074 V(Number, parseFloat, NumberParseFloat) \
7074 V(Number, parseInt, NumberParseInt) \ 7075 V(Number, parseInt, NumberParseInt) \
7075 V(Number.prototype, toString, NumberToString) 7076 V(Number.prototype, toString, NumberToString)
7076 7077
7077 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ 7078 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
7078 V(Atomics, load, AtomicsLoad) \ 7079 V(Atomics, load, AtomicsLoad) \
7079 V(Atomics, store, AtomicsStore) 7080 V(Atomics, store, AtomicsStore)
7080 7081
7081 enum BuiltinFunctionId { 7082 enum BuiltinFunctionId {
7082 kArrayCode, 7083 kArrayCode,
7083 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ 7084 #define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \
(...skipping 4321 matching lines...) Expand 10 before | Expand all | Expand 10 after
11405 } 11406 }
11406 return value; 11407 return value;
11407 } 11408 }
11408 }; 11409 };
11409 11410
11410 11411
11411 } // NOLINT, false-positive due to second-order macros. 11412 } // NOLINT, false-positive due to second-order macros.
11412 } // NOLINT, false-positive due to second-order macros. 11413 } // NOLINT, false-positive due to second-order macros.
11413 11414
11414 #endif // V8_OBJECTS_H_ 11415 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/js/v8natives.js ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698