| OLD | NEW |
| 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" | |
| 10 | |
| 11 #if V8_TARGET_ARCH_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
| 12 | 10 |
| 13 #include "src/disasm.h" | 11 #include "src/disasm.h" |
| 14 | 12 |
| 15 namespace disasm { | 13 namespace disasm { |
| 16 | 14 |
| 17 enum OperandOrder { | 15 enum OperandOrder { |
| 18 UNSET_OP_ORDER = 0, | 16 UNSET_OP_ORDER = 0, |
| 19 REG_OPER_OP_ORDER, | 17 REG_OPER_OP_ORDER, |
| 20 OPER_REG_OP_ORDER | 18 OPER_REG_OP_ORDER |
| (...skipping 2226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2247 fprintf(f, " "); | 2245 fprintf(f, " "); |
| 2248 } | 2246 } |
| 2249 fprintf(f, " %s\n", buffer.start()); | 2247 fprintf(f, " %s\n", buffer.start()); |
| 2250 } | 2248 } |
| 2251 } | 2249 } |
| 2252 | 2250 |
| 2253 | 2251 |
| 2254 } // namespace disasm | 2252 } // namespace disasm |
| 2255 | 2253 |
| 2256 #endif // V8_TARGET_ARCH_IA32 | 2254 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |