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

Side by Side Diff: src/objects.h

Issue 1841993002: [builtins] Make Math.ceil, Math.trunc and Math.round optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/js/math.js ('k') | src/runtime/runtime.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 6601 matching lines...) Expand 10 before | Expand all | Expand 10 after
6612 V(Math, min, MathMin) \ 6612 V(Math, min, MathMin) \
6613 V(Math, cos, MathCos) \ 6613 V(Math, cos, MathCos) \
6614 V(Math, sin, MathSin) \ 6614 V(Math, sin, MathSin) \
6615 V(Math, tan, MathTan) \ 6615 V(Math, tan, MathTan) \
6616 V(Math, acos, MathAcos) \ 6616 V(Math, acos, MathAcos) \
6617 V(Math, asin, MathAsin) \ 6617 V(Math, asin, MathAsin) \
6618 V(Math, atan, MathAtan) \ 6618 V(Math, atan, MathAtan) \
6619 V(Math, atan2, MathAtan2) \ 6619 V(Math, atan2, MathAtan2) \
6620 V(Math, imul, MathImul) \ 6620 V(Math, imul, MathImul) \
6621 V(Math, clz32, MathClz32) \ 6621 V(Math, clz32, MathClz32) \
6622 V(Math, fround, MathFround) 6622 V(Math, fround, MathFround) \
6623 V(Math, trunc, MathTrunc)
6623 6624
6624 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ 6625 #define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
6625 V(Atomics, load, AtomicsLoad) \ 6626 V(Atomics, load, AtomicsLoad) \
6626 V(Atomics, store, AtomicsStore) 6627 V(Atomics, store, AtomicsStore)
6627 6628
6628 enum BuiltinFunctionId { 6629 enum BuiltinFunctionId {
6629 kArrayCode, 6630 kArrayCode,
6630 kGeneratorObjectNext, 6631 kGeneratorObjectNext,
6631 kGeneratorObjectReturn, 6632 kGeneratorObjectReturn,
6632 kGeneratorObjectThrow, 6633 kGeneratorObjectThrow,
(...skipping 4264 matching lines...) Expand 10 before | Expand all | Expand 10 after
10897 } 10898 }
10898 return value; 10899 return value;
10899 } 10900 }
10900 }; 10901 };
10901 10902
10902 10903
10903 } // NOLINT, false-positive due to second-order macros. 10904 } // NOLINT, false-positive due to second-order macros.
10904 } // NOLINT, false-positive due to second-order macros. 10905 } // NOLINT, false-positive due to second-order macros.
10905 10906
10906 #endif // V8_OBJECTS_H_ 10907 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/js/math.js ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698