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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 // should be equal. | 566 // should be equal. |
567 void MergeMoveMemoryToRegisters(VirtualFrame* expected); | 567 void MergeMoveMemoryToRegisters(VirtualFrame* expected); |
568 | 568 |
569 // Invalidates a frame slot (puts an invalid frame element in it). | 569 // Invalidates a frame slot (puts an invalid frame element in it). |
570 // Copies on the frame are correctly handled, and if this slot was | 570 // Copies on the frame are correctly handled, and if this slot was |
571 // the backing store of copies, the index of the new backing store | 571 // the backing store of copies, the index of the new backing store |
572 // is returned. Otherwise, returns kIllegalIndex. | 572 // is returned. Otherwise, returns kIllegalIndex. |
573 // Register counts are correctly updated. | 573 // Register counts are correctly updated. |
574 int InvalidateFrameSlotAt(int index); | 574 int InvalidateFrameSlotAt(int index); |
575 | 575 |
| 576 // This function assumes that a and b are the only results that could be in |
| 577 // the registers a_reg or b_reg. Other results can be live, but must not |
| 578 // be in the registers a_reg or b_reg. The results a and b are invalidated. |
| 579 void MoveResultsToRegisters(Result* a, |
| 580 Result* b, |
| 581 Register a_reg, |
| 582 Register b_reg); |
| 583 |
576 // Call a code stub that has already been prepared for calling (via | 584 // Call a code stub that has already been prepared for calling (via |
577 // PrepareForCall). | 585 // PrepareForCall). |
578 Result RawCallStub(CodeStub* stub); | 586 Result RawCallStub(CodeStub* stub); |
579 | 587 |
580 // Calls a code object which has already been prepared for calling | 588 // Calls a code object which has already been prepared for calling |
581 // (via PrepareForCall). | 589 // (via PrepareForCall). |
582 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); | 590 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); |
583 | 591 |
584 bool Equals(VirtualFrame* other); | 592 bool Equals(VirtualFrame* other); |
585 | 593 |
586 // Classes that need raw access to the elements_ array. | 594 // Classes that need raw access to the elements_ array. |
587 friend class DeferredCode; | 595 friend class DeferredCode; |
588 friend class JumpTarget; | 596 friend class JumpTarget; |
589 }; | 597 }; |
590 | 598 |
591 } } // namespace v8::internal | 599 } } // namespace v8::internal |
592 | 600 |
593 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 601 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
OLD | NEW |