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" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/safepoint-table.h" | 7 #include "src/safepoint-table.h" |
8 | 8 |
9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "src/disasm.h" | 10 #include "src/disasm.h" |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 205 |
206 uint32_t SafepointTableBuilder::EncodeExceptPC(const DeoptimizationInfo& info, | 206 uint32_t SafepointTableBuilder::EncodeExceptPC(const DeoptimizationInfo& info, |
207 unsigned index) { | 207 unsigned index) { |
208 uint32_t encoding = SafepointEntry::DeoptimizationIndexField::encode(index); | 208 uint32_t encoding = SafepointEntry::DeoptimizationIndexField::encode(index); |
209 encoding |= SafepointEntry::ArgumentsField::encode(info.arguments); | 209 encoding |= SafepointEntry::ArgumentsField::encode(info.arguments); |
210 encoding |= SafepointEntry::SaveDoublesField::encode(info.has_doubles); | 210 encoding |= SafepointEntry::SaveDoublesField::encode(info.has_doubles); |
211 return encoding; | 211 return encoding; |
212 } | 212 } |
213 | 213 |
214 | 214 |
215 | 215 } // namespace internal |
216 } } // namespace v8::internal | 216 } // namespace v8 |
OLD | NEW |