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 "src/lithium-codegen.h" | 5 #include "src/lithium-codegen.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/v8.h" | 9 #include "src/v8.h" |
10 | 10 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 | 192 |
193 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( | 193 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( |
194 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason) { | 194 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason) { |
195 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), | 195 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), |
196 instr->Mnemonic(), deopt_reason); | 196 instr->Mnemonic(), deopt_reason); |
197 HEnterInlined* enter_inlined = instr->environment()->entry(); | 197 HEnterInlined* enter_inlined = instr->environment()->entry(); |
198 deopt_info.inlining_id = enter_inlined ? enter_inlined->inlining_id() : 0; | 198 deopt_info.inlining_id = enter_inlined ? enter_inlined->inlining_id() : 0; |
199 return deopt_info; | 199 return deopt_info; |
200 } | 200 } |
201 } } // namespace v8::internal | 201 } // namespace internal |
| 202 } // namespace v8 |
OLD | NEW |