| 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 407   void SpillElementAt(int index); | 407   void SpillElementAt(int index); | 
| 408 | 408 | 
| 409   // Sync the element at a particular index.  If it is a register or | 409   // Sync the element at a particular index.  If it is a register or | 
| 410   // constant that disagrees with the value on the stack, write it to memory. | 410   // constant that disagrees with the value on the stack, write it to memory. | 
| 411   // Keep the element type as register or constant, and clear the dirty bit. | 411   // Keep the element type as register or constant, and clear the dirty bit. | 
| 412   void SyncElementAt(int index); | 412   void SyncElementAt(int index); | 
| 413 | 413 | 
| 414   // Sync the range of elements in [begin, end). | 414   // Sync the range of elements in [begin, end). | 
| 415   void SyncRange(int begin, int end); | 415   void SyncRange(int begin, int end); | 
| 416 | 416 | 
| 417   // Sync a single element, assuming that its index is less than | 417   // Sync a single unsynced element that lies beneath or at the stack pointer. | 
| 418   // or equal to stack pointer + 1. | 418   void SyncElementBelowStackPointer(int index); | 
| 419   void RawSyncElementAt(int index); | 419 | 
|  | 420   // Sync a single unsynced element that lies just above the stack pointer. | 
|  | 421   void SyncElementByPushing(int index); | 
| 420 | 422 | 
| 421   // Push a copy of a frame slot (typically a local or parameter) on top of | 423   // Push a copy of a frame slot (typically a local or parameter) on top of | 
| 422   // the frame. | 424   // the frame. | 
| 423   void PushFrameSlotAt(int index); | 425   void PushFrameSlotAt(int index); | 
| 424 | 426 | 
| 425   // Push a the value of a frame slot (typically a local or parameter) on | 427   // Push a the value of a frame slot (typically a local or parameter) on | 
| 426   // top of the frame and invalidate the slot. | 428   // top of the frame and invalidate the slot. | 
| 427   void TakeFrameSlotAt(int index); | 429   void TakeFrameSlotAt(int index); | 
| 428 | 430 | 
| 429   // Store the value on top of the frame to a frame slot (typically a local | 431   // Store the value on top of the frame to a frame slot (typically a local | 
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 472   Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); | 474   Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); | 
| 473 | 475 | 
| 474   bool Equals(VirtualFrame* other); | 476   bool Equals(VirtualFrame* other); | 
| 475 | 477 | 
| 476   friend class JumpTarget; | 478   friend class JumpTarget; | 
| 477 }; | 479 }; | 
| 478 | 480 | 
| 479 } }  // namespace v8::internal | 481 } }  // namespace v8::internal | 
| 480 | 482 | 
| 481 #endif  // V8_VIRTUAL_FRAME_IA32_H_ | 483 #endif  // V8_VIRTUAL_FRAME_IA32_H_ | 
| OLD | NEW | 
|---|