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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 // Call a code stub that has already been prepared for calling (via | 464 // Call a code stub that has already been prepared for calling (via |
465 // PrepareForCall). | 465 // PrepareForCall). |
466 Result RawCallStub(CodeStub* stub); | 466 Result RawCallStub(CodeStub* stub); |
467 | 467 |
468 // Calls a code object which has already been prepared for calling | 468 // Calls a code object which has already been prepared for calling |
469 // (via PrepareForCall). | 469 // (via PrepareForCall). |
470 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); | 470 Result RawCallCodeObject(Handle<Code> code, RelocInfo::Mode rmode); |
471 | 471 |
472 bool Equals(VirtualFrame* other); | 472 bool Equals(VirtualFrame* other); |
473 | 473 |
474 // Perform initialization required during entry frame computation | |
475 // after setting the virtual frame element at index in frame to be | |
476 // target. | |
477 void InitializeEntryElement(int index, FrameElement* target) { | |
478 elements_[index].clear_copied(); | |
479 if (target->is_register()) { | |
480 register_locations_[target->reg().code()] = index; | |
481 } else if (target->is_copy()) { | |
482 elements_[target->index()].set_copied(); | |
483 } | |
484 } | |
485 | |
486 friend class JumpTarget; | 474 friend class JumpTarget; |
487 }; | 475 }; |
488 | 476 |
489 | 477 |
490 } } // namespace v8::internal | 478 } } // namespace v8::internal |
491 | 479 |
492 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 480 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
OLD | NEW |