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

Issue 1021183002: [turbofan] Turn Math.clz32 into an inlinable builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/math.js ('k') | src/runtime/runtime-maths.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 // 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 F(TypedArrayMaxSizeInHeap, 0, 1) \ 687 F(TypedArrayMaxSizeInHeap, 0, 1) \
688 F(ArrayBufferViewGetByteLength, 1, 1) \ 688 F(ArrayBufferViewGetByteLength, 1, 1) \
689 F(ArrayBufferViewGetByteOffset, 1, 1) \ 689 F(ArrayBufferViewGetByteOffset, 1, 1) \
690 F(TypedArrayGetLength, 1, 1) \ 690 F(TypedArrayGetLength, 1, 1) \
691 /* ArrayBuffer */ \ 691 /* ArrayBuffer */ \
692 F(ArrayBufferGetByteLength, 1, 1) \ 692 F(ArrayBufferGetByteLength, 1, 1) \
693 /* Maths */ \ 693 /* Maths */ \
694 F(ConstructDouble, 2, 1) \ 694 F(ConstructDouble, 2, 1) \
695 F(DoubleHi, 1, 1) \ 695 F(DoubleHi, 1, 1) \
696 F(DoubleLo, 1, 1) \ 696 F(DoubleLo, 1, 1) \
697 F(MathClz32, 1, 1) \
697 F(MathFloor, 1, 1) \ 698 F(MathFloor, 1, 1) \
698 F(MathSqrt, 1, 1) \ 699 F(MathSqrt, 1, 1) \
699 F(MathLogRT, 1, 1) \ 700 F(MathLogRT, 1, 1) \
700 /* ES6 Collections */ \ 701 /* ES6 Collections */ \
701 F(MapClear, 1, 1) \ 702 F(MapClear, 1, 1) \
702 F(MapDelete, 2, 1) \ 703 F(MapDelete, 2, 1) \
703 F(MapGet, 2, 1) \ 704 F(MapGet, 2, 1) \
704 F(MapGetSize, 1, 1) \ 705 F(MapGetSize, 1, 1) \
705 F(MapHas, 2, 1) \ 706 F(MapHas, 2, 1) \
706 F(MapInitialize, 1, 1) \ 707 F(MapInitialize, 1, 1) \
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 898
898 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 899 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
899 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 900 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
900 STATIC_ASSERT(LANGUAGE_END == 3); 901 STATIC_ASSERT(LANGUAGE_END == 3);
901 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 902 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
902 903
903 } // namespace internal 904 } // namespace internal
904 } // namespace v8 905 } // namespace v8
905 906
906 #endif // V8_RUNTIME_RUNTIME_H_ 907 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/math.js ('k') | src/runtime/runtime-maths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698