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

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

Issue 6724034: Fix presubmit errors in r7388 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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 | Annotate | Revision Log
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 } 261 }
262 262
263 263
264 // Print 26-bit immediate value. 264 // Print 26-bit immediate value.
265 void Decoder::PrintCode(Instruction* instr) { 265 void Decoder::PrintCode(Instruction* instr) {
266 if (instr->OpcodeFieldRaw() != SPECIAL) 266 if (instr->OpcodeFieldRaw() != SPECIAL)
267 return; // Not a break or trap instruction. 267 return; // Not a break or trap instruction.
268 switch (instr->FunctionFieldRaw()) { 268 switch (instr->FunctionFieldRaw()) {
269 case BREAK: { 269 case BREAK: {
270 int32_t code = instr->Bits(25, 6); 270 int32_t code = instr->Bits(25, 6);
271 out_buffer_pos_ += OS::SNPrintF(out_buffer_ + out_buffer_pos_, 271 out_buffer_pos_ += OS::SNPrintF(out_buffer_ + out_buffer_pos_,
272 "0x%05x (%d)", code, code); 272 "0x%05x (%d)", code, code);
273 break; 273 break;
274 } 274 }
275 case TGE: 275 case TGE:
276 case TGEU: 276 case TGEU:
277 case TLT: 277 case TLT:
278 case TLTU: 278 case TLTU:
279 case TEQ: 279 case TEQ:
280 case TNE: { 280 case TNE: {
281 int32_t code = instr->Bits(15, 6); 281 int32_t code = instr->Bits(15, 6);
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); 1014 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
1015 } 1015 }
1016 } 1016 }
1017 1017
1018 1018
1019 #undef UNSUPPORTED 1019 #undef UNSUPPORTED
1020 1020
1021 } // namespace disasm 1021 } // namespace disasm
1022 1022
1023 #endif // V8_TARGET_ARCH_MIPS 1023 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698