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

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

Issue 14850023: MIPS: Error found in test262 on ARM: BinaryOpStub could call out to a built-in and push parameters … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed nits. Created 7 years, 7 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/code-stubs-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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
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);
527 int value = *cur; 527 int value = *cur;
528 Heap* current_heap = v8::internal::Isolate::Current()->heap(); 528 Heap* current_heap = v8::internal::Isolate::Current()->heap();
529 if (current_heap->Contains(obj) || ((value & 1) == 0)) { 529 if (((value & 1) == 0) || current_heap->Contains(obj)) {
530 PrintF(" ("); 530 PrintF(" (");
531 if ((value & 1) == 0) { 531 if ((value & 1) == 0) {
532 PrintF("smi %d", value / 2); 532 PrintF("smi %d", value / 2);
533 } else { 533 } else {
534 obj->ShortPrint(); 534 obj->ShortPrint();
535 } 535 }
536 PrintF(")"); 536 PrintF(")");
537 } 537 }
538 PrintF("\n"); 538 PrintF("\n");
539 cur++; 539 cur++;
(...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2902 } 2902 }
2903 2903
2904 2904
2905 #undef UNSUPPORTED 2905 #undef UNSUPPORTED
2906 2906
2907 } } // namespace v8::internal 2907 } } // namespace v8::internal
2908 2908
2909 #endif // USE_SIMULATOR 2909 #endif // USE_SIMULATOR
2910 2910
2911 #endif // V8_TARGET_ARCH_MIPS 2911 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698