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

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

Issue 12475019: Disable optimization in r20548 to make bots green again. (Closed) Base URL: http://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
« no previous file with comments | « no previous file | no next file » | 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/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/flow_graph_allocator.h" 9 #include "vm/flow_graph_allocator.h"
10 #include "vm/flow_graph_builder.h" 10 #include "vm/flow_graph_builder.h"
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 ASSERT(this != other); 522 ASSERT(this != other);
523 523
524 Value* current = NULL; 524 Value* current = NULL;
525 Value* next = input_use_list(); 525 Value* next = input_use_list();
526 if (next != NULL) { 526 if (next != NULL) {
527 // Change all the definitions. 527 // Change all the definitions.
528 while (next != NULL) { 528 while (next != NULL) {
529 current = next; 529 current = next;
530 current->set_definition(other); 530 current->set_definition(other);
531 // Do not discard some useful inferred types. 531 // Do not discard some useful inferred types.
532 if (current->Type() == this->Type()) { 532 // TODO(srdjan): Enable once checked mode issues investigated.
533 current->SetReachingType(NULL); 533 // if (current->Type() == this->Type()) {
534 } 534 // current->SetReachingType(NULL);
535 // }
535 next = current->next_use(); 536 next = current->next_use();
536 } 537 }
537 538
538 // Concatenate the lists. 539 // Concatenate the lists.
539 next = other->input_use_list(); 540 next = other->input_use_list();
540 current->set_next_use(next); 541 current->set_next_use(next);
541 if (next != NULL) next->set_previous_use(current); 542 if (next != NULL) next->set_previous_use(current);
542 other->set_input_use_list(input_use_list()); 543 other->set_input_use_list(input_use_list());
543 set_input_use_list(NULL); 544 set_input_use_list(NULL);
544 } 545 }
(...skipping 1797 matching lines...) Expand 10 before | Expand all | Expand 10 after
2342 default: 2343 default:
2343 UNREACHABLE(); 2344 UNREACHABLE();
2344 } 2345 }
2345 return kPowRuntimeEntry; 2346 return kPowRuntimeEntry;
2346 } 2347 }
2347 2348
2348 2349
2349 #undef __ 2350 #undef __
2350 2351
2351 } // namespace dart 2352 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698