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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 | 400 |
401 // Fill the given output frame's registers to contain the failure handler | 401 // Fill the given output frame's registers to contain the failure handler |
402 // address and the number of parameters for a stub failure trampoline. | 402 // address and the number of parameters for a stub failure trampoline. |
403 void SetPlatformCompiledStubRegisters(FrameDescription* output_frame, | 403 void SetPlatformCompiledStubRegisters(FrameDescription* output_frame, |
404 CodeStubInterfaceDescriptor* desc); | 404 CodeStubInterfaceDescriptor* desc); |
405 | 405 |
406 // Fill the given output frame's double registers with the original values | 406 // Fill the given output frame's double registers with the original values |
407 // from the input frame's double registers. | 407 // from the input frame's double registers. |
408 void CopyDoubleRegisters(FrameDescription* output_frame); | 408 void CopyDoubleRegisters(FrameDescription* output_frame); |
409 | 409 |
| 410 // Determines whether the input frame contains alignment padding by looking |
| 411 // at the dynamic alignment state slot inside the frame. |
| 412 bool HasAlignmentPadding(JSFunction* function); |
| 413 |
410 Isolate* isolate_; | 414 Isolate* isolate_; |
411 JSFunction* function_; | 415 JSFunction* function_; |
412 Code* compiled_code_; | 416 Code* compiled_code_; |
413 unsigned bailout_id_; | 417 unsigned bailout_id_; |
414 BailoutType bailout_type_; | 418 BailoutType bailout_type_; |
415 Address from_; | 419 Address from_; |
416 int fp_to_sp_delta_; | 420 int fp_to_sp_delta_; |
417 int has_alignment_padding_; | 421 int has_alignment_padding_; |
418 | 422 |
419 // Input frame description. | 423 // Input frame description. |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 Object** expression_stack_; | 936 Object** expression_stack_; |
933 int source_position_; | 937 int source_position_; |
934 | 938 |
935 friend class Deoptimizer; | 939 friend class Deoptimizer; |
936 }; | 940 }; |
937 #endif | 941 #endif |
938 | 942 |
939 } } // namespace v8::internal | 943 } } // namespace v8::internal |
940 | 944 |
941 #endif // V8_DEOPTIMIZER_H_ | 945 #endif // V8_DEOPTIMIZER_H_ |
OLD | NEW |