| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |