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

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

Issue 1739593002: Revert "Move precompilation-related flags to flags list." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/assembler_mips.cc ('k') | runtime/vm/benchmark_test.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" // NOLINT 5 #include "vm/globals.h" // NOLINT
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/cpu.h" 9 #include "vm/cpu.h"
10 #include "vm/heap.h" 10 #include "vm/heap.h"
11 #include "vm/instructions.h" 11 #include "vm/instructions.h"
12 #include "vm/locations.h" 12 #include "vm/locations.h"
13 #include "vm/memory_region.h" 13 #include "vm/memory_region.h"
14 #include "vm/runtime_entry.h" 14 #include "vm/runtime_entry.h"
15 #include "vm/stack_frame.h" 15 #include "vm/stack_frame.h"
16 #include "vm/stub_code.h" 16 #include "vm/stub_code.h"
17 17
18 namespace dart { 18 namespace dart {
19 19
20 DECLARE_FLAG(bool, allow_absolute_addresses);
20 DECLARE_FLAG(bool, check_code_pointer); 21 DECLARE_FLAG(bool, check_code_pointer);
21 DECLARE_FLAG(bool, inline_alloc); 22 DECLARE_FLAG(bool, inline_alloc);
22 23
24 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message.");
25
23 26
24 Assembler::Assembler(bool use_far_branches) 27 Assembler::Assembler(bool use_far_branches)
25 : buffer_(), 28 : buffer_(),
26 prologue_offset_(-1), 29 prologue_offset_(-1),
27 comments_(), 30 comments_(),
28 constant_pool_allowed_(false) { 31 constant_pool_allowed_(false) {
29 // Far branching mode is only needed and implemented for MIPS and ARM. 32 // Far branching mode is only needed and implemented for MIPS and ARM.
30 ASSERT(!use_far_branches); 33 ASSERT(!use_far_branches);
31 } 34 }
32 35
(...skipping 3902 matching lines...) Expand 10 before | Expand all | Expand 10 after
3935 3938
3936 3939
3937 const char* Assembler::FpuRegisterName(FpuRegister reg) { 3940 const char* Assembler::FpuRegisterName(FpuRegister reg) {
3938 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters)); 3941 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters));
3939 return xmm_reg_names[reg]; 3942 return xmm_reg_names[reg];
3940 } 3943 }
3941 3944
3942 } // namespace dart 3945 } // namespace dart
3943 3946
3944 #endif // defined TARGET_ARCH_X64 3947 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698