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

Side by Side Diff: runtime/vm/deopt_instructions.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/deferred_objects.cc ('k') | runtime/vm/disassembler.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 #if !defined(DART_PRECOMPILED_RUNTIME)
6
5 #include "vm/deopt_instructions.h" 7 #include "vm/deopt_instructions.h"
6 8
7 #include "vm/assembler.h" 9 #include "vm/assembler.h"
8 #include "vm/code_patcher.h" 10 #include "vm/code_patcher.h"
9 #include "vm/compiler.h" 11 #include "vm/compiler.h"
10 #include "vm/disassembler.h" 12 #include "vm/disassembler.h"
11 #include "vm/intermediate_language.h" 13 #include "vm/intermediate_language.h"
12 #include "vm/locations.h" 14 #include "vm/locations.h"
13 #include "vm/parser.h" 15 #include "vm/parser.h"
14 #include "vm/stack_frame.h" 16 #include "vm/stack_frame.h"
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 GrowableArray<DeoptInstr*> unpacked; 1480 GrowableArray<DeoptInstr*> unpacked;
1479 Unpack(deopt_table, packed, &unpacked); 1481 Unpack(deopt_table, packed, &unpacked);
1480 ASSERT(unpacked.length() == original.length()); 1482 ASSERT(unpacked.length() == original.length());
1481 for (intptr_t i = 0; i < unpacked.length(); ++i) { 1483 for (intptr_t i = 0; i < unpacked.length(); ++i) {
1482 ASSERT(unpacked[i]->Equals(*original[i])); 1484 ASSERT(unpacked[i]->Equals(*original[i]));
1483 } 1485 }
1484 return true; 1486 return true;
1485 } 1487 }
1486 1488
1487 } // namespace dart 1489 } // namespace dart
1490
1491 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/deferred_objects.cc ('k') | runtime/vm/disassembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698