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

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

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 4 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/x64/deoptimizer-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <assert.h> 5 #include <assert.h>
6 #include <stdarg.h> 6 #include <stdarg.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 break; 673 break;
674 case 3: 674 case 3:
675 mnem = "neg"; 675 mnem = "neg";
676 break; 676 break;
677 case 4: 677 case 4:
678 mnem = "mul"; 678 mnem = "mul";
679 break; 679 break;
680 case 5: 680 case 5:
681 mnem = "imul"; 681 mnem = "imul";
682 break; 682 break;
683 case 6:
684 mnem = "div";
685 break;
683 case 7: 686 case 7:
684 mnem = "idiv"; 687 mnem = "idiv";
685 break; 688 break;
686 default: 689 default:
687 UnimplementedInstruction(); 690 UnimplementedInstruction();
688 } 691 }
689 AppendToBuffer("%s%c %s", 692 AppendToBuffer("%s%c %s",
690 mnem, 693 mnem,
691 operand_size_code(), 694 operand_size_code(),
692 NameOfCPURegister(rm)); 695 NameOfCPURegister(rm));
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1903 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 1906 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
1904 fprintf(f, " "); 1907 fprintf(f, " ");
1905 } 1908 }
1906 fprintf(f, " %s\n", buffer.start()); 1909 fprintf(f, " %s\n", buffer.start());
1907 } 1910 }
1908 } 1911 }
1909 1912
1910 } // namespace disasm 1913 } // namespace disasm
1911 1914
1912 #endif // V8_TARGET_ARCH_X64 1915 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/deoptimizer-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698