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

Side by Side Diff: src/compiler/access-builder.cc

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: more comments. Created 3 years, 10 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/compiler/access-builder.h ('k') | src/compiler/ast-graph-builder.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/compiler/access-builder.h" 5 #include "src/compiler/access-builder.h"
6 6
7 #include "src/compiler/type-cache.h" 7 #include "src/compiler/type-cache.h"
8 #include "src/contexts.h" 8 #include "src/contexts.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/handles-inl.h" 10 #include "src/handles-inl.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 FieldAccess AccessBuilder::ForJSFunctionSharedFunctionInfo() { 136 FieldAccess AccessBuilder::ForJSFunctionSharedFunctionInfo() {
137 FieldAccess access = { 137 FieldAccess access = {
138 kTaggedBase, JSFunction::kSharedFunctionInfoOffset, 138 kTaggedBase, JSFunction::kSharedFunctionInfoOffset,
139 Handle<Name>(), MaybeHandle<Map>(), 139 Handle<Name>(), MaybeHandle<Map>(),
140 Type::OtherInternal(), MachineType::TaggedPointer(), 140 Type::OtherInternal(), MachineType::TaggedPointer(),
141 kPointerWriteBarrier}; 141 kPointerWriteBarrier};
142 return access; 142 return access;
143 } 143 }
144 144
145 // static 145 // static
146 FieldAccess AccessBuilder::ForJSFunctionLiterals() { 146 FieldAccess AccessBuilder::ForJSFunctionFeedbackVector() {
147 FieldAccess access = {kTaggedBase, JSFunction::kLiteralsOffset, 147 FieldAccess access = {kTaggedBase, JSFunction::kFeedbackVectorOffset,
148 Handle<Name>(), MaybeHandle<Map>(), 148 Handle<Name>(), MaybeHandle<Map>(),
149 Type::Internal(), MachineType::TaggedPointer(), 149 Type::Internal(), MachineType::TaggedPointer(),
150 kPointerWriteBarrier}; 150 kPointerWriteBarrier};
151 return access; 151 return access;
152 } 152 }
153 153
154 // static 154 // static
155 FieldAccess AccessBuilder::ForJSFunctionCodeEntry() { 155 FieldAccess AccessBuilder::ForJSFunctionCodeEntry() {
156 FieldAccess access = {kTaggedBase, JSFunction::kCodeEntryOffset, 156 FieldAccess access = {kTaggedBase, JSFunction::kCodeEntryOffset,
157 Handle<Name>(), MaybeHandle<Map>(), 157 Handle<Name>(), MaybeHandle<Map>(),
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 MaybeHandle<Map>(), 938 MaybeHandle<Map>(),
939 Type::SignedSmall(), 939 Type::SignedSmall(),
940 MachineType::TaggedSigned(), 940 MachineType::TaggedSigned(),
941 kNoWriteBarrier}; 941 kNoWriteBarrier};
942 return access; 942 return access;
943 } 943 }
944 944
945 } // namespace compiler 945 } // namespace compiler
946 } // namespace internal 946 } // namespace internal
947 } // namespace v8 947 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-builder.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698