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

Side by Side Diff: src/objects.h

Issue 1409163007: [turbofan] We can inline property access for all primitives. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/access-info.cc ('k') | src/objects-inl.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 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_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/allocation.h" 10 #include "src/allocation.h"
(...skipping 5906 matching lines...) Expand 10 before | Expand all | Expand 10 after
5917 Map* LookupElementsTransitionMap(ElementsKind elements_kind); 5917 Map* LookupElementsTransitionMap(ElementsKind elements_kind);
5918 5918
5919 // Returns the transitioned map for this map with the most generic 5919 // Returns the transitioned map for this map with the most generic
5920 // elements_kind that's found in |candidates|, or null handle if no match is 5920 // elements_kind that's found in |candidates|, or null handle if no match is
5921 // found at all. 5921 // found at all.
5922 static Handle<Map> FindTransitionedMap(Handle<Map> map, 5922 static Handle<Map> FindTransitionedMap(Handle<Map> map,
5923 MapHandleList* candidates); 5923 MapHandleList* candidates);
5924 5924
5925 inline bool CanTransition(); 5925 inline bool CanTransition();
5926 5926
5927 inline bool IsBooleanMap();
5927 inline bool IsPrimitiveMap(); 5928 inline bool IsPrimitiveMap();
5928 inline bool IsJSObjectMap(); 5929 inline bool IsJSObjectMap();
5929 inline bool IsJSArrayMap(); 5930 inline bool IsJSArrayMap();
5930 inline bool IsJSFunctionMap(); 5931 inline bool IsJSFunctionMap();
5931 inline bool IsStringMap(); 5932 inline bool IsStringMap();
5932 inline bool IsJSProxyMap(); 5933 inline bool IsJSProxyMap();
5933 inline bool IsJSGlobalProxyMap(); 5934 inline bool IsJSGlobalProxyMap();
5934 inline bool IsJSGlobalObjectMap(); 5935 inline bool IsJSGlobalObjectMap();
5935 inline bool IsJSTypedArrayMap(); 5936 inline bool IsJSTypedArrayMap();
5936 5937
(...skipping 4864 matching lines...) Expand 10 before | Expand all | Expand 10 after
10801 // (elements + properties) in the current level. 10802 // (elements + properties) in the current level.
10802 int levelLength_ = 0; 10803 int levelLength_ = 0;
10803 10804
10804 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10805 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10805 }; 10806 };
10806 10807
10807 } // NOLINT, false-positive due to second-order macros. 10808 } // NOLINT, false-positive due to second-order macros.
10808 } // NOLINT, false-positive due to second-order macros. 10809 } // NOLINT, false-positive due to second-order macros.
10809 10810
10810 #endif // V8_OBJECTS_H_ 10811 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/compiler/access-info.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698