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

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

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Reworked the flags setting: Moving to single file for all flag defintions. 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/tools/gyp/runtime-configurations.gypi ('k') | runtime/vm/compiler.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) 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 #include "vm/assembler.h" 5 #include "vm/assembler.h"
6 6
7 #include "platform/utils.h" 7 #include "platform/utils.h"
8 #include "vm/cpu.h" 8 #include "vm/cpu.h"
9 #include "vm/heap.h" 9 #include "vm/heap.h"
10 #include "vm/memory_region.h" 10 #include "vm/memory_region.h"
11 #include "vm/os.h" 11 #include "vm/os.h"
12 #include "vm/zone.h" 12 #include "vm/zone.h"
13 13
14 namespace dart { 14 namespace dart {
15 15
16 DECLARE_FLAG(bool, disassemble);
17 DECLARE_FLAG(bool, disassemble_optimized);
18
19 DEFINE_FLAG(bool, check_code_pointer, false, 16 DEFINE_FLAG(bool, check_code_pointer, false,
20 "Verify instructions offset in code object." 17 "Verify instructions offset in code object."
21 "NOTE: This breaks the profiler."); 18 "NOTE: This breaks the profiler.");
22 DEFINE_FLAG(bool, code_comments, false, 19 DEFINE_FLAG(bool, code_comments, false,
23 "Include comments into code and disassembly"); 20 "Include comments into code and disassembly");
24 #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS) 21 #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS)
25 DEFINE_FLAG(bool, use_far_branches, false, 22 DEFINE_FLAG(bool, use_far_branches, false,
26 "Enable far branches for ARM and MIPS"); 23 "Enable far branches for ARM and MIPS");
27 #endif 24 #endif
28 25
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 result.SetObjectAt(i, *object_pool_[i].obj_); 314 result.SetObjectAt(i, *object_pool_[i].obj_);
318 } else { 315 } else {
319 result.SetRawValueAt(i, object_pool_[i].raw_value_); 316 result.SetRawValueAt(i, object_pool_[i].raw_value_);
320 } 317 }
321 } 318 }
322 return result.raw(); 319 return result.raw();
323 } 320 }
324 321
325 322
326 } // namespace dart 323 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/tools/gyp/runtime-configurations.gypi ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698