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

Side by Side Diff: runtime/vm/assembler_ia32.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, 9 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_arm64.cc ('k') | runtime/vm/assembler_mips.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_IA32) 6 #if defined(TARGET_ARCH_IA32)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/code_generator.h" 9 #include "vm/code_generator.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
11 #include "vm/heap.h" 11 #include "vm/heap.h"
12 #include "vm/instructions.h" 12 #include "vm/instructions.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 #include "vm/verified_memory.h" 17 #include "vm/verified_memory.h"
18 18
19 namespace dart { 19 namespace dart {
20 20
21 DEFINE_FLAG(bool, print_stop_message, true, "Print stop message.");
21 DECLARE_FLAG(bool, inline_alloc); 22 DECLARE_FLAG(bool, inline_alloc);
22 23
23 24
24 class DirectCallRelocation : public AssemblerFixup { 25 class DirectCallRelocation : public AssemblerFixup {
25 public: 26 public:
26 void Process(const MemoryRegion& region, intptr_t position) { 27 void Process(const MemoryRegion& region, intptr_t position) {
27 // Direct calls are relative to the following instruction on x86. 28 // Direct calls are relative to the following instruction on x86.
28 int32_t pointer = region.Load<int32_t>(position); 29 int32_t pointer = region.Load<int32_t>(position);
29 int32_t delta = region.start() + position + sizeof(int32_t); 30 int32_t delta = region.start() + position + sizeof(int32_t);
30 region.Store<int32_t>(position, pointer - delta); 31 region.Store<int32_t>(position, pointer - delta);
(...skipping 3186 matching lines...) Expand 10 before | Expand all | Expand 10 after
3217 3218
3218 const char* Assembler::FpuRegisterName(FpuRegister reg) { 3219 const char* Assembler::FpuRegisterName(FpuRegister reg) {
3219 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters)); 3220 ASSERT((0 <= reg) && (reg < kNumberOfXmmRegisters));
3220 return xmm_reg_names[reg]; 3221 return xmm_reg_names[reg];
3221 } 3222 }
3222 3223
3223 3224
3224 } // namespace dart 3225 } // namespace dart
3225 3226
3226 #endif // defined TARGET_ARCH_IA32 3227 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm64.cc ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698