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 "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "accessors.h" | 7 #include "src/accessors.h" |
8 #include "codegen.h" | 8 #include "src/codegen.h" |
9 #include "deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "disasm.h" | 10 #include "src/disasm.h" |
11 #include "full-codegen.h" | 11 #include "src/full-codegen.h" |
12 #include "global-handles.h" | 12 #include "src/global-handles.h" |
13 #include "macro-assembler.h" | 13 #include "src/macro-assembler.h" |
14 #include "prettyprinter.h" | 14 #include "src/prettyprinter.h" |
15 | 15 |
16 | 16 |
17 namespace v8 { | 17 namespace v8 { |
18 namespace internal { | 18 namespace internal { |
19 | 19 |
20 static MemoryChunk* AllocateCodeChunk(MemoryAllocator* allocator) { | 20 static MemoryChunk* AllocateCodeChunk(MemoryAllocator* allocator) { |
21 return allocator->AllocateChunk(Deoptimizer::GetMaxDeoptTableSize(), | 21 return allocator->AllocateChunk(Deoptimizer::GetMaxDeoptTableSize(), |
22 OS::CommitPageSize(), | 22 OS::CommitPageSize(), |
23 #if defined(__native_client__) | 23 #if defined(__native_client__) |
24 // The Native Client port of V8 uses an interpreter, | 24 // The Native Client port of V8 uses an interpreter, |
(...skipping 3555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3580 } | 3580 } |
3581 | 3581 |
3582 | 3582 |
3583 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { | 3583 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { |
3584 v->VisitPointer(BitCast<Object**>(&function_)); | 3584 v->VisitPointer(BitCast<Object**>(&function_)); |
3585 v->VisitPointers(parameters_, parameters_ + parameters_count_); | 3585 v->VisitPointers(parameters_, parameters_ + parameters_count_); |
3586 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); | 3586 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); |
3587 } | 3587 } |
3588 | 3588 |
3589 } } // namespace v8::internal | 3589 } } // namespace v8::internal |
OLD | NEW |