OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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/v8.h" | |
6 | |
7 #include "src/safepoint-table.h" | 5 #include "src/safepoint-table.h" |
8 | 6 |
9 #include "src/deoptimizer.h" | 7 #include "src/deoptimizer.h" |
10 #include "src/disasm.h" | 8 #include "src/disasm.h" |
11 #include "src/frames-inl.h" | 9 #include "src/frames-inl.h" |
12 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
13 #include "src/ostreams.h" | 11 #include "src/ostreams.h" |
14 | 12 |
15 namespace v8 { | 13 namespace v8 { |
16 namespace internal { | 14 namespace internal { |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 unsigned index) { | 206 unsigned index) { |
209 uint32_t encoding = SafepointEntry::DeoptimizationIndexField::encode(index); | 207 uint32_t encoding = SafepointEntry::DeoptimizationIndexField::encode(index); |
210 encoding |= SafepointEntry::ArgumentsField::encode(info.arguments); | 208 encoding |= SafepointEntry::ArgumentsField::encode(info.arguments); |
211 encoding |= SafepointEntry::SaveDoublesField::encode(info.has_doubles); | 209 encoding |= SafepointEntry::SaveDoublesField::encode(info.has_doubles); |
212 return encoding; | 210 return encoding; |
213 } | 211 } |
214 | 212 |
215 | 213 |
216 } // namespace internal | 214 } // namespace internal |
217 } // namespace v8 | 215 } // namespace v8 |
OLD | NEW |