| Index: runtime/vm/assembler.cc
|
| diff --git a/runtime/vm/assembler.cc b/runtime/vm/assembler.cc
|
| index 4e1eca9571f9bfabe28f598a098c2f6c30b4eece..f5358c1762eed9d2114885337939178f09a7fe13 100644
|
| --- a/runtime/vm/assembler.cc
|
| +++ b/runtime/vm/assembler.cc
|
| @@ -13,6 +13,12 @@
|
|
|
| namespace dart {
|
|
|
| +DECLARE_FLAG(bool, disassemble);
|
| +DECLARE_FLAG(bool, disassemble_optimized);
|
| +
|
| +DEFINE_FLAG(bool, check_code_pointer, false,
|
| + "Verify instructions offset in code object."
|
| + "NOTE: This breaks the profiler.");
|
| DEFINE_FLAG(bool, code_comments, false,
|
| "Include comments into code and disassembly");
|
| #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_MIPS)
|
| @@ -20,9 +26,6 @@ DEFINE_FLAG(bool, use_far_branches, false,
|
| "Enable far branches for ARM and MIPS");
|
| #endif
|
|
|
| -DECLARE_FLAG(bool, disassemble);
|
| -DECLARE_FLAG(bool, disassemble_optimized);
|
| -
|
| static uword NewContents(intptr_t capacity) {
|
| Zone* zone = Thread::Current()->zone();
|
| uword result = zone->AllocUnsafe(capacity);
|
|
|