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

Side by Side Diff: runtime/vm/assembler.h

Issue 21363003: Enables per-function far-branches for ARM and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/assembler.cc » ('j') | runtime/vm/compiler.cc » ('J')
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 #ifndef VM_ASSEMBLER_H_ 5 #ifndef VM_ASSEMBLER_H_
6 #define VM_ASSEMBLER_H_ 6 #define VM_ASSEMBLER_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
11 #include "vm/growable_array.h" 11 #include "vm/growable_array.h"
12 #include "vm/object.h" 12 #include "vm/object.h"
13 13
14 namespace dart { 14 namespace dart {
15 15
16 // TODO(zra): Remove once far branches are enabled automatically on a
17 // per-function basis.
18 #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS) 16 #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS)
19 DECLARE_FLAG(bool, use_far_branches); 17 DECLARE_FLAG(bool, use_far_branches);
20 #endif 18 #endif
21 19
22 // Forward declarations. 20 // Forward declarations.
23 class Assembler; 21 class Assembler;
24 class AssemblerFixup; 22 class AssemblerFixup;
25 class AssemblerBuffer; 23 class AssemblerBuffer;
26 class MemoryRegion; 24 class MemoryRegion;
27 25
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 #include "vm/assembler_x64.h" 209 #include "vm/assembler_x64.h"
212 #elif defined(TARGET_ARCH_ARM) 210 #elif defined(TARGET_ARCH_ARM)
213 #include "vm/assembler_arm.h" 211 #include "vm/assembler_arm.h"
214 #elif defined(TARGET_ARCH_MIPS) 212 #elif defined(TARGET_ARCH_MIPS)
215 #include "vm/assembler_mips.h" 213 #include "vm/assembler_mips.h"
216 #else 214 #else
217 #error Unknown architecture. 215 #error Unknown architecture.
218 #endif 216 #endif
219 217
220 #endif // VM_ASSEMBLER_H_ 218 #endif // VM_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler.cc » ('j') | runtime/vm/compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698