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

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

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)
Patch Set: Eliminate precompiled runtime flag Created 3 years, 5 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.cc ('k') | runtime/vm/disassembler_arm64.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ARM.
6 #if defined(TARGET_ARCH_ARM) && !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_ARM.
8 #if defined(TARGET_ARCH_ARM)
9 #include "platform/assert.h" 10 #include "platform/assert.h"
10 #include "vm/cpu.h" 11 #include "vm/cpu.h"
11 #include "vm/instructions.h" 12 #include "vm/instructions.h"
12 13
13 namespace dart { 14 namespace dart {
14 15
15 #ifndef PRODUCT 16 #ifndef PRODUCT
16 17
17 class ARMDecoder : public ValueObject { 18 class ARMDecoder : public ValueObject {
18 public: 19 public:
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) { 1536 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) {
1536 *object = NULL; 1537 *object = NULL;
1537 } 1538 }
1538 } 1539 }
1539 } 1540 }
1540 1541
1541 #endif // !PRODUCT 1542 #endif // !PRODUCT
1542 1543
1543 } // namespace dart 1544 } // namespace dart
1544 1545
1545 #endif // defined TARGET_ARCH_ARM 1546 #endif // defined(TARGET_ARCH_ARM) && !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/disassembler.cc ('k') | runtime/vm/disassembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698