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

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

Issue 115347: Reduce the memory used by frame elements from two words to one by... (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 | « no previous file | src/compiler.h » ('j') | src/compiler.h » ('J')
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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | src/compiler.h » ('j') | src/compiler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698