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

Side by Side Diff: runtime/vm/disassembler_x64.cc

Issue 2994863002: Reapply "Eliminate dependencies on assemblers and code stubs in precompiled runtime." (Closed)
Patch Set: Exclude references to disassembler in precompiled mode Created 3 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
« no previous file with comments | « runtime/vm/disassembler_ia32.cc ('k') | runtime/vm/flag_list.h » ('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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME)
7
5 #include "vm/disassembler.h" 8 #include "vm/disassembler.h"
6 9
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
8 #if defined(TARGET_ARCH_X64)
9 #include "platform/utils.h" 10 #include "platform/utils.h"
10 #include "vm/allocation.h" 11 #include "vm/allocation.h"
11 #include "vm/heap.h" 12 #include "vm/heap.h"
12 #include "vm/instructions.h" 13 #include "vm/instructions.h"
13 #include "vm/os.h" 14 #include "vm/os.h"
14 #include "vm/stack_frame.h" 15 #include "vm/stack_frame.h"
15 #include "vm/stub_code.h" 16 #include "vm/stub_code.h"
16 17
17 namespace dart { 18 namespace dart {
18 19
(...skipping 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) { 1935 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) {
1935 *object = NULL; 1936 *object = NULL;
1936 } 1937 }
1937 } 1938 }
1938 } 1939 }
1939 1940
1940 #endif // !PRODUCT 1941 #endif // !PRODUCT
1941 1942
1942 } // namespace dart 1943 } // namespace dart
1943 1944
1944 #endif // defined TARGET_ARCH_X64 1945 #endif // defined(TARGET_ARCH_X64) && !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/disassembler_ia32.cc ('k') | runtime/vm/flag_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698