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

Side by Side Diff: src/runtime/runtime.h

Issue 754863002: Optimize testing for an index's existence in packed Arrays (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased for landing Created 6 years 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/runtime.js ('k') | src/runtime/runtime-object.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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 F(ConstructDouble, 2, 1) \ 725 F(ConstructDouble, 2, 1) \
726 F(DoubleHi, 1, 1) \ 726 F(DoubleHi, 1, 1) \
727 F(DoubleLo, 1, 1) \ 727 F(DoubleLo, 1, 1) \
728 F(MathSqrtRT, 1, 1) \ 728 F(MathSqrtRT, 1, 1) \
729 F(MathLogRT, 1, 1) \ 729 F(MathLogRT, 1, 1) \
730 /* ES6 Collections */ \ 730 /* ES6 Collections */ \
731 F(MapGet, 2, 1) \ 731 F(MapGet, 2, 1) \
732 F(MapGetSize, 1, 1) \ 732 F(MapGetSize, 1, 1) \
733 F(MapHas, 2, 1) \ 733 F(MapHas, 2, 1) \
734 F(SetGetSize, 1, 1) \ 734 F(SetGetSize, 1, 1) \
735 F(SetHas, 2, 1) 735 F(SetHas, 2, 1) \
736 /* Arrays */ \
737 F(HasFastPackedElements, 1, 1)
736 738
737 739
738 //--------------------------------------------------------------------------- 740 //---------------------------------------------------------------------------
739 // Runtime provides access to all C++ runtime functions. 741 // Runtime provides access to all C++ runtime functions.
740 742
741 class RuntimeState { 743 class RuntimeState {
742 public: 744 public:
743 unibrow::Mapping<unibrow::ToUppercase, 128>* to_upper_mapping() { 745 unibrow::Mapping<unibrow::ToUppercase, 128>* to_upper_mapping() {
744 return &to_upper_mapping_; 746 return &to_upper_mapping_;
745 } 747 }
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 893 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
892 894
893 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 895 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
894 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 896 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
895 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 897 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
896 898
897 } // namespace internal 899 } // namespace internal
898 } // namespace v8 900 } // namespace v8
899 901
900 #endif // V8_RUNTIME_RUNTIME_H_ 902 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698