| 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/crankshaft/lithium-codegen.h" | 5 #include "src/crankshaft/lithium-codegen.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
| 10 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT | 10 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 | 365 |
| 366 // Define deoptimization literals for all unoptimized code objects of inlined | 366 // Define deoptimization literals for all unoptimized code objects of inlined |
| 367 // functions. This ensures unoptimized code is kept alive by optimized code. | 367 // functions. This ensures unoptimized code is kept alive by optimized code. |
| 368 AllowDeferredHandleDereference allow_shared_function_info_dereference; | 368 AllowDeferredHandleDereference allow_shared_function_info_dereference; |
| 369 for (Handle<SharedFunctionInfo> function : chunk()->inlined_functions()) { | 369 for (Handle<SharedFunctionInfo> function : chunk()->inlined_functions()) { |
| 370 DefineDeoptimizationLiteral(handle(function->code())); | 370 DefineDeoptimizationLiteral(handle(function->code())); |
| 371 } | 371 } |
| 372 } | 372 } |
| 373 | 373 |
| 374 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( | 374 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( |
| 375 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason, int deopt_id) { | 375 LInstruction* instr, DeoptimizeReason deopt_reason, int deopt_id) { |
| 376 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), | 376 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), |
| 377 deopt_reason, deopt_id); | 377 deopt_reason, deopt_id); |
| 378 return deopt_info; | 378 return deopt_info; |
| 379 } | 379 } |
| 380 | 380 |
| 381 } // namespace internal | 381 } // namespace internal |
| 382 } // namespace v8 | 382 } // namespace v8 |
| OLD | NEW |