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

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

Issue 13321002: MIPS: Make the mips port build cleanly with clang. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/macro-assembler-mips.cc ('k') | no next file » | 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 PrintF("%s unrecognized\n", arg1); 506 PrintF("%s unrecognized\n", arg1);
507 continue; 507 continue;
508 } 508 }
509 cur = reinterpret_cast<int32_t*>(value); 509 cur = reinterpret_cast<int32_t*>(value);
510 next_arg++; 510 next_arg++;
511 } 511 }
512 512
513 int32_t words; 513 int32_t words;
514 if (argc == next_arg) { 514 if (argc == next_arg) {
515 words = 10; 515 words = 10;
516 } else if (argc == next_arg + 1) { 516 } else {
517 if (!GetValue(argv[next_arg], &words)) { 517 if (!GetValue(argv[next_arg], &words)) {
518 words = 10; 518 words = 10;
519 } 519 }
520 } 520 }
521 end = cur + words; 521 end = cur + words;
522 522
523 while (cur < end) { 523 while (cur < end) {
524 PrintF(" 0x%08x: 0x%08x %10d", 524 PrintF(" 0x%08x: 0x%08x %10d",
525 reinterpret_cast<intptr_t>(cur), *cur, *cur); 525 reinterpret_cast<intptr_t>(cur), *cur, *cur);
526 HeapObject* obj = reinterpret_cast<HeapObject*>(*cur); 526 HeapObject* obj = reinterpret_cast<HeapObject*>(*cur);
(...skipping 2372 matching lines...) Expand 10 before | Expand all | Expand 10 after
2899 } 2899 }
2900 2900
2901 2901
2902 #undef UNSUPPORTED 2902 #undef UNSUPPORTED
2903 2903
2904 } } // namespace v8::internal 2904 } } // namespace v8::internal
2905 2905
2906 #endif // USE_SIMULATOR 2906 #endif // USE_SIMULATOR
2907 2907
2908 #endif // V8_TARGET_ARCH_MIPS 2908 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698