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

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

Issue 9110029: Fix test-hashing after recent changes to string hashing. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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
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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 ASSERT(!(at.bit() & restored_regs)); 726 ASSERT(!(at.bit() & restored_regs));
727 // Restore the registers from the last output frame. 727 // Restore the registers from the last output frame.
728 __ mov(at, a2); 728 __ mov(at, a2);
729 for (int i = kNumberOfRegisters - 1; i >= 0; i--) { 729 for (int i = kNumberOfRegisters - 1; i >= 0; i--) {
730 int offset = (i * kPointerSize) + FrameDescription::registers_offset(); 730 int offset = (i * kPointerSize) + FrameDescription::registers_offset();
731 if ((restored_regs & (1 << i)) != 0) { 731 if ((restored_regs & (1 << i)) != 0) {
732 __ lw(ToRegister(i), MemOperand(at, offset)); 732 __ lw(ToRegister(i), MemOperand(at, offset));
733 } 733 }
734 } 734 }
735 735
736 // Set up the roots register. 736 __ InitializeRootRegister();
737 ExternalReference roots_array_start =
738 ExternalReference::roots_array_start(isolate);
739 __ li(roots, Operand(roots_array_start));
740 737
741 __ pop(at); // Get continuation, leave pc on stack. 738 __ pop(at); // Get continuation, leave pc on stack.
742 __ pop(ra); 739 __ pop(ra);
743 __ Jump(at); 740 __ Jump(at);
744 __ stop("Unreachable."); 741 __ stop("Unreachable.");
745 } 742 }
746 743
747 744
748 void Deoptimizer::TableEntryGenerator::GeneratePrologue() { 745 void Deoptimizer::TableEntryGenerator::GeneratePrologue() {
749 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm()); 746 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm());
(...skipping 20 matching lines...) Expand all
770 767
771 ASSERT_EQ(table_entry_size_, masm()->pc_offset() - start); 768 ASSERT_EQ(table_entry_size_, masm()->pc_offset() - start);
772 } 769 }
773 __ bind(&done); 770 __ bind(&done);
774 } 771 }
775 772
776 #undef __ 773 #undef __
777 774
778 775
779 } } // namespace v8::internal 776 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698