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

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

Issue 18509003: Keep two empty lines between declarations for cpp files (Closed) Base URL: http://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/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void LBranch::PrintDataTo(StringStream* stream) { 179 void LBranch::PrintDataTo(StringStream* stream) {
180 stream->Add("B%d | B%d on ", true_block_id(), false_block_id()); 180 stream->Add("B%d | B%d on ", true_block_id(), false_block_id());
181 value()->PrintTo(stream); 181 value()->PrintTo(stream);
182 } 182 }
183 183
184 184
185 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) { 185 LInstruction* LChunkBuilder::DoDebugBreak(HDebugBreak* instr) {
186 return new(zone()) LDebugBreak(); 186 return new(zone()) LDebugBreak();
187 } 187 }
188 188
189
189 void LCmpIDAndBranch::PrintDataTo(StringStream* stream) { 190 void LCmpIDAndBranch::PrintDataTo(StringStream* stream) {
190 stream->Add("if "); 191 stream->Add("if ");
191 left()->PrintTo(stream); 192 left()->PrintTo(stream);
192 stream->Add(" %s ", Token::String(op())); 193 stream->Add(" %s ", Token::String(op()));
193 right()->PrintTo(stream); 194 right()->PrintTo(stream);
194 stream->Add(" then B%d else B%d", true_block_id(), false_block_id()); 195 stream->Add(" then B%d else B%d", true_block_id(), false_block_id());
195 } 196 }
196 197
197 198
198 void LIsObjectAndBranch::PrintDataTo(StringStream* stream) { 199 void LIsObjectAndBranch::PrintDataTo(StringStream* stream) {
(...skipping 2351 matching lines...) Expand 10 before | Expand all | Expand 10 after
2550 2551
2551 2552
2552 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2553 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2553 LOperand* object = UseRegister(instr->object()); 2554 LOperand* object = UseRegister(instr->object());
2554 LOperand* index = UseRegister(instr->index()); 2555 LOperand* index = UseRegister(instr->index());
2555 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2556 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2556 } 2557 }
2557 2558
2558 2559
2559 } } // namespace v8::internal 2560 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698