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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
478 // Call a code stub that has already been prepared for calling (via | 478 // Call a code stub that has already been prepared for calling (via |
479 // PrepareForCall). | 479 // PrepareForCall). |
480 Result RawCallStub(CodeStub* stub); | 480 Result RawCallStub(CodeStub* stub); |
481 | 481 |
482 // Calls a code object which has already been prepared for calling | 482 // Calls a code object which has already been prepared for calling |
483 // (via PrepareForCall). | 483 // (via PrepareForCall). |
484 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); | 484 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); |
485 | 485 |
486 bool Equals(VirtualFrame* other); | 486 bool Equals(VirtualFrame* other); |
487 | 487 |
488 // Perform initialization required during entry frame computation | |
489 // after setting the virtual frame element at index in frame to be | |
490 // target. | |
491 void InitializeEntryElement(int index, FrameElement* target) { | |
492 elements_[index].clear_copied(); | |
493 if (target->is_register()) { | |
494 register_locations_[target->reg().code()] = index; | |
495 } else if (target->is_copy()) { | |
496 elements_[target->index()].set_copied(); | |
497 } | |
Lasse Reichstein
2009/05/13 10:23:30
This function is identical to the one in virtual-f
Kevin Millikin (Chromium)
2009/05/13 10:30:14
Good point. We have a TODO to combine the platfor
| |
498 } | |
499 | |
488 friend class JumpTarget; | 500 friend class JumpTarget; |
489 }; | 501 }; |
490 | 502 |
491 } } // namespace v8::internal | 503 } } // namespace v8::internal |
492 | 504 |
493 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 505 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
OLD | NEW |