OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 "codegen.h" | 7 #include "src/codegen.h" |
8 #include "deoptimizer.h" | 8 #include "src/deoptimizer.h" |
9 #include "full-codegen.h" | 9 #include "src/full-codegen.h" |
10 #include "safepoint-table.h" | 10 #include "src/safepoint-table.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 const int Deoptimizer::table_entry_size_ = 12; | 15 const int Deoptimizer::table_entry_size_ = 12; |
16 | 16 |
17 | 17 |
18 int Deoptimizer::patch_size() { | 18 int Deoptimizer::patch_size() { |
19 const int kCallInstructionSizeInWords = 3; | 19 const int kCallInstructionSizeInWords = 3; |
20 return kCallInstructionSizeInWords * Assembler::kInstrSize; | 20 return kCallInstructionSizeInWords * Assembler::kInstrSize; |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 | 348 |
349 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 349 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
350 ASSERT(FLAG_enable_ool_constant_pool); | 350 ASSERT(FLAG_enable_ool_constant_pool); |
351 SetFrameSlot(offset, value); | 351 SetFrameSlot(offset, value); |
352 } | 352 } |
353 | 353 |
354 | 354 |
355 #undef __ | 355 #undef __ |
356 | 356 |
357 } } // namespace v8::internal | 357 } } // namespace v8::internal |
OLD | NEW |