| OLD | NEW |
| 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/field-index-inl.h" | 10 #include "src/field-index-inl.h" |
| 11 #include "src/field-type.h" | 11 #include "src/field-type.h" |
| 12 #include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker! | 12 #include "src/objects-inl.h" |
| 13 #include "src/type-cache.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; |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 } | 452 } |
| 453 return false; | 453 return false; |
| 454 } | 454 } |
| 455 | 455 |
| 456 | 456 |
| 457 Factory* AccessInfoFactory::factory() const { return isolate()->factory(); } | 457 Factory* AccessInfoFactory::factory() const { return isolate()->factory(); } |
| 458 | 458 |
| 459 } // namespace compiler | 459 } // namespace compiler |
| 460 } // namespace internal | 460 } // namespace internal |
| 461 } // namespace v8 | 461 } // namespace v8 |
| OLD | NEW |