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

Side by Side Diff: src/x64/deoptimizer-x64.cc

Issue 19483007: Revert "Addressed danno's comments" and "Introduce kRegisterSize, kPCOnStackSize and kFPOnStackSize… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/mips/deoptimizer-mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 for (int i = 0; i < count(); i++) { 603 for (int i = 0; i < count(); i++) {
604 int start = masm()->pc_offset(); 604 int start = masm()->pc_offset();
605 USE(start); 605 USE(start);
606 __ push_imm32(i); 606 __ push_imm32(i);
607 __ jmp(&done); 607 __ jmp(&done);
608 ASSERT(masm()->pc_offset() - start == table_entry_size_); 608 ASSERT(masm()->pc_offset() - start == table_entry_size_);
609 } 609 }
610 __ bind(&done); 610 __ bind(&done);
611 } 611 }
612 612
613
614 void FrameDescription::SetCallerPc(unsigned offset, intptr_t value) {
615 SetFrameSlot(offset, value);
616 }
617
618
619 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) {
620 SetFrameSlot(offset, value);
621 }
622
623
624 #undef __ 613 #undef __
625 614
626 615
627 } } // namespace v8::internal 616 } } // namespace v8::internal
628 617
629 #endif // V8_TARGET_ARCH_X64 618 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/mips/deoptimizer-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698