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

Side by Side Diff: src/ia32/lithium-ia32.cc

Issue 9309079: Fix presubmit errors. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 10 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/lithium-allocator.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 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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 ASSERT(!instr->HasPointerMap()); 790 ASSERT(!instr->HasPointerMap());
791 instr->set_pointer_map(new(zone()) LPointerMap(position_)); 791 instr->set_pointer_map(new(zone()) LPointerMap(position_));
792 return instr; 792 return instr;
793 } 793 }
794 794
795 795
796 LUnallocated* LChunkBuilder::TempRegister() { 796 LUnallocated* LChunkBuilder::TempRegister() {
797 LUnallocated* operand = 797 LUnallocated* operand =
798 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER); 798 new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
799 operand->set_virtual_register(allocator_->GetVirtualRegister()); 799 operand->set_virtual_register(allocator_->GetVirtualRegister());
800 if (!allocator_->AllocationOk()) Abort("Not enough virtual registers (temps)." ); 800 if (!allocator_->AllocationOk()) {
801 Abort("Not enough virtual registers (temps).");
802 }
801 return operand; 803 return operand;
802 } 804 }
803 805
804 806
805 LOperand* LChunkBuilder::FixedTemp(Register reg) { 807 LOperand* LChunkBuilder::FixedTemp(Register reg) {
806 LUnallocated* operand = ToUnallocated(reg); 808 LUnallocated* operand = ToUnallocated(reg);
807 ASSERT(operand->HasFixedPolicy()); 809 ASSERT(operand->HasFixedPolicy());
808 return operand; 810 return operand;
809 } 811 }
810 812
(...skipping 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 LOperand* key = UseOrConstantAtStart(instr->key()); 2399 LOperand* key = UseOrConstantAtStart(instr->key());
2398 LOperand* object = UseOrConstantAtStart(instr->object()); 2400 LOperand* object = UseOrConstantAtStart(instr->object());
2399 LIn* result = new(zone()) LIn(context, key, object); 2401 LIn* result = new(zone()) LIn(context, key, object);
2400 return MarkAsCall(DefineFixed(result, eax), instr); 2402 return MarkAsCall(DefineFixed(result, eax), instr);
2401 } 2403 }
2402 2404
2403 2405
2404 } } // namespace v8::internal 2406 } } // namespace v8::internal
2405 2407
2406 #endif // V8_TARGET_ARCH_IA32 2408 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698