| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // Add extra in-memory elements to the top of the frame to match an actual | 78 // Add extra in-memory elements to the top of the frame to match an actual |
| 79 // frame (eg, the frame after an exception handler is pushed). No code is | 79 // frame (eg, the frame after an exception handler is pushed). No code is |
| 80 // emitted. | 80 // emitted. |
| 81 void Adjust(int count); | 81 void Adjust(int count); |
| 82 | 82 |
| 83 // Forget elements from the top of the frame to match an actual frame (eg, | 83 // Forget elements from the top of the frame to match an actual frame (eg, |
| 84 // the frame after a runtime call). No code is emitted. | 84 // the frame after a runtime call). No code is emitted. |
| 85 void Forget(int count); | 85 void Forget(int count); |
| 86 | 86 |
| 87 // Forget count elements from the top of the frame without adjusting |
| 88 // the stack pointer downward. This is used, for example, before |
| 89 // merging frames at break, continue, and return targets. |
| 90 void ForgetElements(int count); |
| 91 |
| 87 // Spill all values from the frame to memory. | 92 // Spill all values from the frame to memory. |
| 88 void SpillAll(); | 93 void SpillAll(); |
| 89 | 94 |
| 90 // Spill all occurrences of a specific register from the frame. | 95 // Spill all occurrences of a specific register from the frame. |
| 91 void Spill(Register reg); | 96 void Spill(Register reg); |
| 92 | 97 |
| 93 // Spill all occurrences of an arbitrary register if possible. Return the | 98 // Spill all occurrences of an arbitrary register if possible. Return the |
| 94 // register spilled or no_reg if it was not possible to free any register | 99 // register spilled or no_reg if it was not possible to free any register |
| 95 // (ie, they all have frame-external references). | 100 // (ie, they all have frame-external references). |
| 96 Register SpillAnyRegister(); | 101 Register SpillAnyRegister(); |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 | 456 |
| 452 bool Equals(VirtualFrame* other); | 457 bool Equals(VirtualFrame* other); |
| 453 | 458 |
| 454 friend class JumpTarget; | 459 friend class JumpTarget; |
| 455 }; | 460 }; |
| 456 | 461 |
| 457 | 462 |
| 458 } } // namespace v8::internal | 463 } } // namespace v8::internal |
| 459 | 464 |
| 460 #endif // V8_VIRTUAL_FRAME_ARM_H_ | 465 #endif // V8_VIRTUAL_FRAME_ARM_H_ |
| OLD | NEW |