OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 // Then drop dropped_args elements from the virtual frame, to match | 462 // Then drop dropped_args elements from the virtual frame, to match |
463 // the effect of an upcoming call that will drop them from the stack. | 463 // the effect of an upcoming call that will drop them from the stack. |
464 void PrepareForCall(int spilled_args, int dropped_args); | 464 void PrepareForCall(int spilled_args, int dropped_args); |
465 | 465 |
466 // If all top-of-stack registers are in use then the lowest one is pushed | 466 // If all top-of-stack registers are in use then the lowest one is pushed |
467 // onto the physical stack and made free. | 467 // onto the physical stack and made free. |
468 void EnsureOneFreeTOSRegister(); | 468 void EnsureOneFreeTOSRegister(); |
469 | 469 |
470 // Emit instructions to get the top of stack state from where we are to where | 470 // Emit instructions to get the top of stack state from where we are to where |
471 // we want to be. | 471 // we want to be. |
472 void MergeTOSTo(TopOfStack expected_state, Condition cond); | 472 void MergeTOSTo(TopOfStack expected_state, Condition cond = al); |
473 | 473 |
474 inline bool Equals(const VirtualFrame* other); | 474 inline bool Equals(const VirtualFrame* other); |
475 | 475 |
476 friend class JumpTarget; | 476 friend class JumpTarget; |
477 }; | 477 }; |
478 | 478 |
479 | 479 |
480 } } // namespace v8::internal | 480 } } // namespace v8::internal |
481 | 481 |
482 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 482 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
OLD | NEW |