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

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

Issue 2133003: Allow build-time selection between ia32 and x86_64 in the GYP/Xcode Mac Chromium build (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 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/arm/debug-arm.cc ('k') | src/arm/fast-codegen-arm.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include <assert.h> 49 #include <assert.h>
50 #include <stdio.h> 50 #include <stdio.h>
51 #include <stdarg.h> 51 #include <stdarg.h>
52 #include <string.h> 52 #include <string.h>
53 #ifndef WIN32 53 #ifndef WIN32
54 #include <stdint.h> 54 #include <stdint.h>
55 #endif 55 #endif
56 56
57 #include "v8.h" 57 #include "v8.h"
58 58
59 #if defined(V8_TARGET_ARCH_ARM)
60
59 #include "constants-arm.h" 61 #include "constants-arm.h"
60 #include "disasm.h" 62 #include "disasm.h"
61 #include "macro-assembler.h" 63 #include "macro-assembler.h"
62 #include "platform.h" 64 #include "platform.h"
63 65
64 66
65 namespace assembler { 67 namespace assembler {
66 namespace arm { 68 namespace arm {
67 69
68 namespace v8i = v8::internal; 70 namespace v8i = v8::internal;
(...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 buffer[0] = '\0'; 1351 buffer[0] = '\0';
1350 byte* prev_pc = pc; 1352 byte* prev_pc = pc;
1351 pc += d.InstructionDecode(buffer, pc); 1353 pc += d.InstructionDecode(buffer, pc);
1352 fprintf(f, "%p %08x %s\n", 1354 fprintf(f, "%p %08x %s\n",
1353 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); 1355 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
1354 } 1356 }
1355 } 1357 }
1356 1358
1357 1359
1358 } // namespace disasm 1360 } // namespace disasm
1361
1362 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/debug-arm.cc ('k') | src/arm/fast-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698