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

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

Issue 2289573002: [turbofan] Remove the unused asm.js types from TypeCache. (Closed)
Patch Set: Created 4 years, 3 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.h ('k') | src/compiler/escape-analysis.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 <ostream> 5 #include <ostream>
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/compilation-dependencies.h" 8 #include "src/compilation-dependencies.h"
9 #include "src/compiler/access-info.h" 9 #include "src/compiler/access-info.h"
10 #include "src/compiler/type-cache.h"
10 #include "src/field-index-inl.h" 11 #include "src/field-index-inl.h"
11 #include "src/field-type.h" 12 #include "src/field-type.h"
12 #include "src/objects-inl.h" 13 #include "src/objects-inl.h"
13 #include "src/type-cache.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 namespace compiler { 17 namespace compiler {
18 18
19 namespace { 19 namespace {
20 20
21 bool CanInlineElementAccess(Handle<Map> map) { 21 bool CanInlineElementAccess(Handle<Map> map) {
22 if (!map->IsJSObjectMap()) return false; 22 if (!map->IsJSObjectMap()) return false;
23 if (map->is_access_check_needed()) return false; 23 if (map->is_access_check_needed()) return false;
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 } 499 }
500 return false; 500 return false;
501 } 501 }
502 502
503 503
504 Factory* AccessInfoFactory::factory() const { return isolate()->factory(); } 504 Factory* AccessInfoFactory::factory() const { return isolate()->factory(); }
505 505
506 } // namespace compiler 506 } // namespace compiler
507 } // namespace internal 507 } // namespace internal
508 } // namespace v8 508 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/access-info.h ('k') | src/compiler/escape-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698