| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 void SpillElementAt(int index); | 400 void SpillElementAt(int index); |
| 401 | 401 |
| 402 // Sync the element at a particular index. If it is a register or | 402 // Sync the element at a particular index. If it is a register or |
| 403 // constant that disagrees with the value on the stack, write it to memory. | 403 // constant that disagrees with the value on the stack, write it to memory. |
| 404 // Keep the element type as register or constant, and clear the dirty bit. | 404 // Keep the element type as register or constant, and clear the dirty bit. |
| 405 void SyncElementAt(int index); | 405 void SyncElementAt(int index); |
| 406 | 406 |
| 407 // Sync the range of elements in [begin, end). | 407 // Sync the range of elements in [begin, end). |
| 408 void SyncRange(int begin, int end); | 408 void SyncRange(int begin, int end); |
| 409 | 409 |
| 410 // Sync a single element, assuming that its index is less than | 410 // Sync a single unsynced element that lies beneath or at the stack pointer. |
| 411 // or equal to stack pointer + 1. | 411 void SyncElementBelowStackPointer(int index); |
| 412 void RawSyncElementAt(int index); | 412 |
| 413 // Sync a single unsynced element that lies just above the stack pointer. |
| 414 void SyncElementByPushing(int index); |
| 413 | 415 |
| 414 // Push a copy of a frame slot (typically a local or parameter) on top of | 416 // Push a copy of a frame slot (typically a local or parameter) on top of |
| 415 // the frame. | 417 // the frame. |
| 416 void PushFrameSlotAt(int index); | 418 void PushFrameSlotAt(int index); |
| 417 | 419 |
| 418 // Push a the value of a frame slot (typically a local or parameter) on | 420 // Push a the value of a frame slot (typically a local or parameter) on |
| 419 // top of the frame and invalidate the slot. | 421 // top of the frame and invalidate the slot. |
| 420 void TakeFrameSlotAt(int index); | 422 void TakeFrameSlotAt(int index); |
| 421 | 423 |
| 422 // Store the value on top of the frame to a frame slot (typically a local | 424 // Store the value on top of the frame to a frame slot (typically a local |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 | 468 |
| 467 bool Equals(VirtualFrame* other); | 469 bool Equals(VirtualFrame* other); |
| 468 | 470 |
| 469 friend class JumpTarget; | 471 friend class JumpTarget; |
| 470 }; | 472 }; |
| 471 | 473 |
| 472 | 474 |
| 473 } } // namespace v8::internal | 475 } } // namespace v8::internal |
| 474 | 476 |
| 475 #endif // V8_VIRTUAL_FRAME_ARM_H_ | 477 #endif // V8_VIRTUAL_FRAME_ARM_H_ |
| OLD | NEW |