| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef V8_DEOPTIMIZER_H_ | 5 #ifndef V8_DEOPTIMIZER_H_ |
| 6 #define V8_DEOPTIMIZER_H_ | 6 #define V8_DEOPTIMIZER_H_ |
| 7 | 7 |
| 8 #include "v8.h" | 8 #include "v8.h" |
| 9 | 9 |
| 10 #include "allocation.h" | 10 #include "allocation.h" |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 CodeStubInterfaceDescriptor* desc); | 380 CodeStubInterfaceDescriptor* desc); |
| 381 | 381 |
| 382 // Fill the given output frame's double registers with the original values | 382 // Fill the given output frame's double registers with the original values |
| 383 // from the input frame's double registers. | 383 // from the input frame's double registers. |
| 384 void CopyDoubleRegisters(FrameDescription* output_frame); | 384 void CopyDoubleRegisters(FrameDescription* output_frame); |
| 385 | 385 |
| 386 // Determines whether the input frame contains alignment padding by looking | 386 // Determines whether the input frame contains alignment padding by looking |
| 387 // at the dynamic alignment state slot inside the frame. | 387 // at the dynamic alignment state slot inside the frame. |
| 388 bool HasAlignmentPadding(JSFunction* function); | 388 bool HasAlignmentPadding(JSFunction* function); |
| 389 | 389 |
| 390 // Select the version of NotifyStubFailure builtin that either saves or | |
| 391 // doesn't save the double registers depending on CPU features. | |
| 392 Code* NotifyStubFailureBuiltin(); | |
| 393 | |
| 394 Isolate* isolate_; | 390 Isolate* isolate_; |
| 395 JSFunction* function_; | 391 JSFunction* function_; |
| 396 Code* compiled_code_; | 392 Code* compiled_code_; |
| 397 unsigned bailout_id_; | 393 unsigned bailout_id_; |
| 398 BailoutType bailout_type_; | 394 BailoutType bailout_type_; |
| 399 Address from_; | 395 Address from_; |
| 400 int fp_to_sp_delta_; | 396 int fp_to_sp_delta_; |
| 401 int has_alignment_padding_; | 397 int has_alignment_padding_; |
| 402 | 398 |
| 403 // Input frame description. | 399 // Input frame description. |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 Object** parameters_; | 962 Object** parameters_; |
| 967 Object** expression_stack_; | 963 Object** expression_stack_; |
| 968 int source_position_; | 964 int source_position_; |
| 969 | 965 |
| 970 friend class Deoptimizer; | 966 friend class Deoptimizer; |
| 971 }; | 967 }; |
| 972 | 968 |
| 973 } } // namespace v8::internal | 969 } } // namespace v8::internal |
| 974 | 970 |
| 975 #endif // V8_DEOPTIMIZER_H_ | 971 #endif // V8_DEOPTIMIZER_H_ |
| OLD | NEW |