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

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

Issue 6793040: Remove unused last_pc_ in AssemblerX64. (Closed)
Patch Set: Created 9 years, 8 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
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/lithium-x64.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 } 593 }
594 594
595 if (output_count_ - 1 == frame_index) iterator->Done(); 595 if (output_count_ - 1 == frame_index) iterator->Done();
596 } 596 }
597 597
598 598
599 #define __ masm()-> 599 #define __ masm()->
600 600
601 void Deoptimizer::EntryGenerator::Generate() { 601 void Deoptimizer::EntryGenerator::Generate() {
602 GeneratePrologue(); 602 GeneratePrologue();
603 CpuFeatures::Scope scope(SSE2);
604 603
605 // Save all general purpose registers before messing with them. 604 // Save all general purpose registers before messing with them.
606 const int kNumberOfRegisters = Register::kNumRegisters; 605 const int kNumberOfRegisters = Register::kNumRegisters;
607 606
608 const int kDoubleRegsSize = kDoubleSize * 607 const int kDoubleRegsSize = kDoubleSize *
609 XMMRegister::kNumAllocatableRegisters; 608 XMMRegister::kNumAllocatableRegisters;
610 __ subq(rsp, Immediate(kDoubleRegsSize)); 609 __ subq(rsp, Immediate(kDoubleRegsSize));
611 610
612 for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; ++i) { 611 for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; ++i) {
613 XMMRegister xmm_reg = XMMRegister::FromAllocationIndex(i); 612 XMMRegister xmm_reg = XMMRegister::FromAllocationIndex(i);
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 } 806 }
808 __ bind(&done); 807 __ bind(&done);
809 } 808 }
810 809
811 #undef __ 810 #undef __
812 811
813 812
814 } } // namespace v8::internal 813 } } // namespace v8::internal
815 814
816 #endif // V8_TARGET_ARCH_X64 815 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698