OLD | NEW |
1 | 1 |
2 // Copyright 2011 the V8 project authors. All rights reserved. | 2 // Copyright 2011 the V8 project authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 #include "src/v8.h" | 6 #include "src/v8.h" |
7 | 7 |
8 #include "src/codegen.h" | 8 #include "src/codegen.h" |
9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "src/full-codegen.h" | 10 #include "src/full-codegen/full-codegen.h" |
11 #include "src/safepoint-table.h" | 11 #include "src/safepoint-table.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 | 16 |
17 int Deoptimizer::patch_size() { | 17 int Deoptimizer::patch_size() { |
18 const int kCallInstructionSizeInWords = 4; | 18 const int kCallInstructionSizeInWords = 4; |
19 return kCallInstructionSizeInWords * Assembler::kInstrSize; | 19 return kCallInstructionSizeInWords * Assembler::kInstrSize; |
20 } | 20 } |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 // No embedded constant pool support. | 402 // No embedded constant pool support. |
403 UNREACHABLE(); | 403 UNREACHABLE(); |
404 } | 404 } |
405 | 405 |
406 | 406 |
407 #undef __ | 407 #undef __ |
408 | 408 |
409 | 409 |
410 } // namespace internal | 410 } // namespace internal |
411 } // namespace v8 | 411 } // namespace v8 |
OLD | NEW |