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

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

Issue 12087131: Make the arm port build cleanly with Clang. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « src/arm/macro-assembler-arm.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 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 PrintF("%s unrecognized\n", arg1); 392 PrintF("%s unrecognized\n", arg1);
393 continue; 393 continue;
394 } 394 }
395 cur = reinterpret_cast<int32_t*>(value); 395 cur = reinterpret_cast<int32_t*>(value);
396 next_arg++; 396 next_arg++;
397 } 397 }
398 398
399 int32_t words; 399 int32_t words;
400 if (argc == next_arg) { 400 if (argc == next_arg) {
401 words = 10; 401 words = 10;
402 } else if (argc == next_arg + 1) { 402 } else {
403 if (!GetValue(argv[next_arg], &words)) { 403 if (!GetValue(argv[next_arg], &words)) {
404 words = 10; 404 words = 10;
405 } 405 }
406 } 406 }
407 end = cur + words; 407 end = cur + words;
408 408
409 while (cur < end) { 409 while (cur < end) {
410 PrintF(" 0x%08x: 0x%08x %10d", 410 PrintF(" 0x%08x: 0x%08x %10d",
411 reinterpret_cast<intptr_t>(cur), *cur, *cur); 411 reinterpret_cast<intptr_t>(cur), *cur, *cur);
412 HeapObject* obj = reinterpret_cast<HeapObject*>(*cur); 412 HeapObject* obj = reinterpret_cast<HeapObject*>(*cur);
(...skipping 3047 matching lines...) Expand 10 before | Expand all | Expand 10 after
3460 uintptr_t address = *stack_slot; 3460 uintptr_t address = *stack_slot;
3461 set_register(sp, current_sp + sizeof(uintptr_t)); 3461 set_register(sp, current_sp + sizeof(uintptr_t));
3462 return address; 3462 return address;
3463 } 3463 }
3464 3464
3465 } } // namespace v8::internal 3465 } } // namespace v8::internal
3466 3466
3467 #endif // USE_SIMULATOR 3467 #endif // USE_SIMULATOR
3468 3468
3469 #endif // V8_TARGET_ARCH_ARM 3469 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698