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

Side by Side Diff: runtime/vm/assembler_mips.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_ia32.cc ('k') | runtime/vm/assembler_x64.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_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/longjump.h" 9 #include "vm/longjump.h"
10 #include "vm/runtime_entry.h" 10 #include "vm/runtime_entry.h"
11 #include "vm/simulator.h" 11 #include "vm/simulator.h"
12 #include "vm/stack_frame.h" 12 #include "vm/stack_frame.h"
13 #include "vm/stub_code.h" 13 #include "vm/stub_code.h"
14 14
15 namespace dart { 15 namespace dart {
16 16
17 DECLARE_FLAG(bool, allow_absolute_addresses);
17 DECLARE_FLAG(bool, check_code_pointer); 18 DECLARE_FLAG(bool, check_code_pointer);
18 DECLARE_FLAG(bool, inline_alloc); 19 DECLARE_FLAG(bool, inline_alloc);
19 #if defined(USING_SIMULATOR) 20 #if defined(USING_SIMULATOR)
20 DECLARE_FLAG(int, trace_sim_after); 21 DECLARE_FLAG(int, trace_sim_after);
21 #endif 22 #endif
22 23
24 DEFINE_FLAG(bool, print_stop_message, false, "Print stop message.");
25
23 void Assembler::InitializeMemoryWithBreakpoints(uword data, intptr_t length) { 26 void Assembler::InitializeMemoryWithBreakpoints(uword data, intptr_t length) {
24 ASSERT(Utils::IsAligned(data, 4)); 27 ASSERT(Utils::IsAligned(data, 4));
25 ASSERT(Utils::IsAligned(length, 4)); 28 ASSERT(Utils::IsAligned(length, 4));
26 const uword end = data + length; 29 const uword end = data + length;
27 while (data < end) { 30 while (data < end) {
28 *reinterpret_cast<int32_t*>(data) = Instr::kBreakPointInstruction; 31 *reinterpret_cast<int32_t*>(data) = Instr::kBreakPointInstruction;
29 data += 4; 32 data += 4;
30 } 33 }
31 } 34 }
32 35
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 Label stop; 1354 Label stop;
1352 b(&stop); 1355 b(&stop);
1353 Emit(reinterpret_cast<int32_t>(message)); 1356 Emit(reinterpret_cast<int32_t>(message));
1354 Bind(&stop); 1357 Bind(&stop);
1355 break_(Instr::kStopMessageCode); 1358 break_(Instr::kStopMessageCode);
1356 } 1359 }
1357 1360
1358 } // namespace dart 1361 } // namespace dart
1359 1362
1360 #endif // defined TARGET_ARCH_MIPS 1363 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698