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 "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/ast/prettyprinter.h" | 8 #include "src/ast/prettyprinter.h" |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/disasm.h" | 10 #include "src/disasm.h" |
11 #include "src/frames-inl.h" | 11 #include "src/frames-inl.h" |
12 #include "src/full-codegen/full-codegen.h" | 12 #include "src/full-codegen/full-codegen.h" |
13 #include "src/global-handles.h" | 13 #include "src/global-handles.h" |
14 #include "src/interpreter/interpreter.h" | 14 #include "src/interpreter/interpreter.h" |
15 #include "src/macro-assembler.h" | 15 #include "src/macro-assembler.h" |
16 #include "src/profiler/cpu-profiler.h" | |
17 #include "src/tracing/trace-event.h" | 16 #include "src/tracing/trace-event.h" |
18 #include "src/v8.h" | 17 #include "src/v8.h" |
19 | 18 |
20 | 19 |
21 namespace v8 { | 20 namespace v8 { |
22 namespace internal { | 21 namespace internal { |
23 | 22 |
24 static MemoryChunk* AllocateCodeChunk(MemoryAllocator* allocator) { | 23 static MemoryChunk* AllocateCodeChunk(MemoryAllocator* allocator) { |
25 return allocator->AllocateChunk(Deoptimizer::GetMaxDeoptTableSize(), | 24 return allocator->AllocateChunk(Deoptimizer::GetMaxDeoptTableSize(), |
26 base::OS::CommitPageSize(), | 25 base::OS::CommitPageSize(), |
(...skipping 3990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4017 CHECK(value_info->IsMaterializedObject()); | 4016 CHECK(value_info->IsMaterializedObject()); |
4018 | 4017 |
4019 value_info->value_ = | 4018 value_info->value_ = |
4020 Handle<Object>(previously_materialized_objects->get(i), isolate_); | 4019 Handle<Object>(previously_materialized_objects->get(i), isolate_); |
4021 } | 4020 } |
4022 } | 4021 } |
4023 } | 4022 } |
4024 | 4023 |
4025 } // namespace internal | 4024 } // namespace internal |
4026 } // namespace v8 | 4025 } // namespace v8 |
OLD | NEW |