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

Side by Side Diff: runtime/vm/disassembler_arm64.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_arm.cc ('k') | runtime/vm/disassembler_ia32.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64.
6 #if defined(TARGET_ARCH_ARM64) && !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_ARM64.
8 #if defined(TARGET_ARCH_ARM64)
9 #include "platform/assert.h" 10 #include "platform/assert.h"
10 #include "vm/instructions.h" 11 #include "vm/instructions.h"
11 12
12 namespace dart { 13 namespace dart {
13 14
14 #ifndef PRODUCT 15 #ifndef PRODUCT
15 16
16 class ARM64Decoder : public ValueObject { 17 class ARM64Decoder : public ValueObject {
17 public: 18 public:
18 ARM64Decoder(char* buffer, size_t buffer_size) 19 ARM64Decoder(char* buffer, size_t buffer_size)
(...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) { 1498 if (!DecodeLoadObjectFromPoolOrThread(pc, code, *object)) {
1498 *object = NULL; 1499 *object = NULL;
1499 } 1500 }
1500 } 1501 }
1501 } 1502 }
1502 1503
1503 #endif // !PRODUCT 1504 #endif // !PRODUCT
1504 1505
1505 } // namespace dart 1506 } // namespace dart
1506 1507
1507 #endif // defined TARGET_ARCH_ARM 1508 #endif // defined(TARGET_ARCH_ARM64) && !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/disassembler_arm.cc ('k') | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698