OLD | NEW |
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/deoptimizer.h" | 5 #include "src/deoptimizer.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "src/accessors.h" | 9 #include "src/accessors.h" |
10 #include "src/assembler-inl.h" | 10 #include "src/assembler-inl.h" |
11 #include "src/ast/prettyprinter.h" | 11 #include "src/ast/prettyprinter.h" |
12 #include "src/codegen.h" | 12 #include "src/codegen.h" |
13 #include "src/disasm.h" | 13 #include "src/disasm.h" |
14 #include "src/frames-inl.h" | 14 #include "src/frames-inl.h" |
15 #include "src/full-codegen/full-codegen.h" | 15 #include "src/full-codegen/full-codegen.h" |
16 #include "src/global-handles.h" | 16 #include "src/global-handles.h" |
17 #include "src/interpreter/interpreter.h" | 17 #include "src/interpreter/interpreter.h" |
18 #include "src/macro-assembler.h" | 18 #include "src/macro-assembler.h" |
| 19 #include "src/objects/debug-objects-inl.h" |
19 #include "src/tracing/trace-event.h" | 20 #include "src/tracing/trace-event.h" |
20 #include "src/v8.h" | 21 #include "src/v8.h" |
21 | 22 |
22 | 23 |
23 namespace v8 { | 24 namespace v8 { |
24 namespace internal { | 25 namespace internal { |
25 | 26 |
26 static MemoryChunk* AllocateCodeChunk(MemoryAllocator* allocator) { | 27 static MemoryChunk* AllocateCodeChunk(MemoryAllocator* allocator) { |
27 return allocator->AllocateChunk(Deoptimizer::GetMaxDeoptTableSize(), | 28 return allocator->AllocateChunk(Deoptimizer::GetMaxDeoptTableSize(), |
28 MemoryAllocator::GetCommitPageSize(), | 29 MemoryAllocator::GetCommitPageSize(), |
(...skipping 4429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4458 CHECK(value_info->IsMaterializedObject()); | 4459 CHECK(value_info->IsMaterializedObject()); |
4459 | 4460 |
4460 value_info->value_ = | 4461 value_info->value_ = |
4461 Handle<Object>(previously_materialized_objects->get(i), isolate_); | 4462 Handle<Object>(previously_materialized_objects->get(i), isolate_); |
4462 } | 4463 } |
4463 } | 4464 } |
4464 } | 4465 } |
4465 | 4466 |
4466 } // namespace internal | 4467 } // namespace internal |
4467 } // namespace v8 | 4468 } // namespace v8 |
OLD | NEW |