OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 CodeStubInterfaceDescriptor* desc); | 399 CodeStubInterfaceDescriptor* desc); |
400 | 400 |
401 // Fill the given output frame's double registers with the original values | 401 // Fill the given output frame's double registers with the original values |
402 // from the input frame's double registers. | 402 // from the input frame's double registers. |
403 void CopyDoubleRegisters(FrameDescription* output_frame); | 403 void CopyDoubleRegisters(FrameDescription* output_frame); |
404 | 404 |
405 // Determines whether the input frame contains alignment padding by looking | 405 // Determines whether the input frame contains alignment padding by looking |
406 // at the dynamic alignment state slot inside the frame. | 406 // at the dynamic alignment state slot inside the frame. |
407 bool HasAlignmentPadding(JSFunction* function); | 407 bool HasAlignmentPadding(JSFunction* function); |
408 | 408 |
| 409 // Select the version of NotifyStubFailure builtin that either saves or |
| 410 // doesn't save the double registers depending on CPU features. |
| 411 Code* NotifyStubFailureBuiltin(); |
| 412 |
409 Isolate* isolate_; | 413 Isolate* isolate_; |
410 JSFunction* function_; | 414 JSFunction* function_; |
411 Code* compiled_code_; | 415 Code* compiled_code_; |
412 unsigned bailout_id_; | 416 unsigned bailout_id_; |
413 BailoutType bailout_type_; | 417 BailoutType bailout_type_; |
414 Address from_; | 418 Address from_; |
415 int fp_to_sp_delta_; | 419 int fp_to_sp_delta_; |
416 int has_alignment_padding_; | 420 int has_alignment_padding_; |
417 | 421 |
418 // Input frame description. | 422 // Input frame description. |
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 Object** expression_stack_; | 930 Object** expression_stack_; |
927 int source_position_; | 931 int source_position_; |
928 | 932 |
929 friend class Deoptimizer; | 933 friend class Deoptimizer; |
930 }; | 934 }; |
931 #endif | 935 #endif |
932 | 936 |
933 } } // namespace v8::internal | 937 } } // namespace v8::internal |
934 | 938 |
935 #endif // V8_DEOPTIMIZER_H_ | 939 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |