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

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

Issue 2976723003: Eliminate dependencies on assemblers and code stubs in precompiled runtime. (Closed)
Patch Set: Eliminate precompiled runtime flag Created 3 years, 5 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/intrinsifier_x64.cc ('k') | runtime/vm/megamorphic_cache_table.h » ('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 #if !defined(DART_PRECOMPILED_RUNTIME)
6
5 #include "vm/locations.h" 7 #include "vm/locations.h"
6 8
7 #include "vm/assembler.h" 9 #include "vm/assembler.h"
8 #include "vm/il_printer.h" 10 #include "vm/il_printer.h"
9 #include "vm/log.h" 11 #include "vm/log.h"
10 #include "vm/stack_frame.h" 12 #include "vm/stack_frame.h"
11 13
12 namespace dart { 14 namespace dart {
13 15
14 intptr_t RegisterSet::RegisterCount(intptr_t registers) { 16 intptr_t RegisterSet::RegisterCount(intptr_t registers) {
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 // with the right representation because register allocator does not know 363 // with the right representation because register allocator does not know
362 // how they are used within the instruction template. 364 // how they are used within the instruction template.
363 ASSERT(in(i).IsMachineRegister()); 365 ASSERT(in(i).IsMachineRegister());
364 ASSERT(live_registers()->Contains(in(i))); 366 ASSERT(live_registers()->Contains(in(i)));
365 } 367 }
366 } 368 }
367 } 369 }
368 #endif 370 #endif
369 371
370 } // namespace dart 372 } // namespace dart
373
374 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/megamorphic_cache_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698