Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Side by Side Diff: src/ia32/virtual-frame-ia32.h

Issue 113396: Reapply revision 1949. Stupid error.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/frame-element.h ('k') | src/jump-target.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
498 }
499
500 friend class JumpTarget; 488 friend class JumpTarget;
501 }; 489 };
502 490
503 } } // namespace v8::internal 491 } } // namespace v8::internal
504 492
505 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ 493 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_
OLDNEW
« no previous file with comments | « src/frame-element.h ('k') | src/jump-target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698