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

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

Issue 12412013: Add pass to remove empty blocks and recompute fall-through targets. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
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" // Needed here to get TARGET_ARCH_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "vm/longjump.h" 10 #include "vm/longjump.h"
11 11
12 namespace dart { 12 namespace dart {
13 13
14 FlowGraphCompiler::~FlowGraphCompiler() { 14 FlowGraphCompiler::~FlowGraphCompiler() {
15 // BlockInfos are zone-allocated, so their destructors are not called. 15 // BlockInfos are zone-allocated, so their destructors are not called.
16 // Verify the labels explicitly here. 16 // Verify the labels explicitly here.
17 for (int i = 0; i < block_info_.length(); ++i) { 17 for (int i = 0; i < block_info_.length(); ++i) {
18 ASSERT(!block_info_[i]->label.IsLinked()); 18 ASSERT(!block_info_[i]->jump_label()->IsLinked());
19 } 19 }
20 } 20 }
21 21
22 22
23 bool FlowGraphCompiler::SupportsUnboxedMints() { 23 bool FlowGraphCompiler::SupportsUnboxedMints() {
24 return false; 24 return false;
25 } 25 }
26 26
27 27
28 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler, 28 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler,
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 368
369 369
370 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) { 370 void ParallelMoveResolver::Exchange(const Address& mem1, const Address& mem2) {
371 UNIMPLEMENTED(); 371 UNIMPLEMENTED();
372 } 372 }
373 373
374 374
375 } // namespace dart 375 } // namespace dart
376 376
377 #endif // defined TARGET_ARCH_MIPS 377 #endif // defined TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698