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

Side by Side Diff: src/crankshaft/hydrogen.cc

Issue 2410293003: [runtime] Rename FieldTypeGroup to FieldOwnerGroup. (Closed)
Patch Set: Address feedback Created 4 years, 2 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-info.cc ('k') | src/objects.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/crankshaft/hydrogen.h" 5 #include "src/crankshaft/hydrogen.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/allocation-site-scopes.h" 10 #include "src/allocation-site-scopes.h"
(...skipping 6204 matching lines...) Expand 10 before | Expand all | Expand 10 after
6215 if (field_maps_.is_empty()) { 6215 if (field_maps_.is_empty()) {
6216 // Store is not safe if the field map was cleared. 6216 // Store is not safe if the field map was cleared.
6217 return IsLoad() || !field_type->IsNone(); 6217 return IsLoad() || !field_type->IsNone();
6218 } 6218 }
6219 6219
6220 // Determine field HType from field type. 6220 // Determine field HType from field type.
6221 field_type_ = HType::FromFieldType(field_type, zone()); 6221 field_type_ = HType::FromFieldType(field_type, zone());
6222 DCHECK(field_type_.IsHeapObject()); 6222 DCHECK(field_type_.IsHeapObject());
6223 6223
6224 // Add dependency on the map that introduced the field. 6224 // Add dependency on the map that introduced the field.
6225 top_info()->dependencies()->AssumeFieldType(GetFieldOwnerFromMap(map)); 6225 top_info()->dependencies()->AssumeFieldOwner(GetFieldOwnerFromMap(map));
6226 return true; 6226 return true;
6227 } 6227 }
6228 6228
6229 6229
6230 bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() { 6230 bool HOptimizedGraphBuilder::PropertyAccessInfo::LookupInPrototypes() {
6231 Handle<Map> map = this->map(); 6231 Handle<Map> map = this->map();
6232 if (name_->IsPrivate()) { 6232 if (name_->IsPrivate()) {
6233 NotFound(); 6233 NotFound();
6234 return !map->has_hidden_prototype(); 6234 return !map->has_hidden_prototype();
6235 } 6235 }
(...skipping 7047 matching lines...) Expand 10 before | Expand all | Expand 10 after
13283 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13283 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13284 } 13284 }
13285 13285
13286 #ifdef DEBUG 13286 #ifdef DEBUG
13287 graph_->Verify(false); // No full verify. 13287 graph_->Verify(false); // No full verify.
13288 #endif 13288 #endif
13289 } 13289 }
13290 13290
13291 } // namespace internal 13291 } // namespace internal
13292 } // namespace v8 13292 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-info.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698