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

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

Issue 1585433002: Fix SourcePosition_IfElse test (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | « 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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/compiler.h" 5 #include "vm/compiler.h"
6 #include "vm/dart_api_impl.h" 6 #include "vm/dart_api_impl.h"
7 #include "vm/dart_entry.h" 7 #include "vm/dart_entry.h"
8 #include "vm/flow_graph_builder.h" 8 #include "vm/flow_graph_builder.h"
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 #include "vm/unit_test.h" 10 #include "vm/unit_test.h"
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 SourcePositionTest spt(thread, kScript); 553 SourcePositionTest spt(thread, kScript);
554 spt.BuildGraphFor("main"); 554 spt.BuildGraphFor("main");
555 spt.FuzzyInstructionMatchAt("DebugStepCheck", 3, 5); 555 spt.FuzzyInstructionMatchAt("DebugStepCheck", 3, 5);
556 spt.FuzzyInstructionMatchAt("CheckStackOverflow", 3, 5); 556 spt.FuzzyInstructionMatchAt("CheckStackOverflow", 3, 5);
557 spt.FuzzyInstructionMatchAt("LoadStaticField", 4, 7); 557 spt.FuzzyInstructionMatchAt("LoadStaticField", 4, 7);
558 spt.InstanceCallAt(4, 9, Token::kEQ); 558 spt.InstanceCallAt(4, 9, Token::kEQ);
559 spt.FuzzyInstructionMatchAt("Branch if StrictCompare", 4, 9); 559 spt.FuzzyInstructionMatchAt("Branch if StrictCompare", 4, 9);
560 spt.FuzzyInstructionMatchAt("LoadStaticField", 5, 12); 560 spt.FuzzyInstructionMatchAt("LoadStaticField", 5, 12);
561 spt.FuzzyInstructionMatchAt("DebugStepCheck", 5, 5); 561 spt.FuzzyInstructionMatchAt("DebugStepCheck", 5, 5);
562 spt.FuzzyInstructionMatchAt("Return", 5, 5); 562 spt.FuzzyInstructionMatchAt("Return", 5, 5);
563 spt.FuzzyInstructionMatchAt("LoadStaticField", 7, 10); 563 spt.FuzzyInstructionMatchAt("LoadStaticField", 7, 12);
564 spt.FuzzyInstructionMatchAt("DebugStepCheck", 7, 3); 564 spt.FuzzyInstructionMatchAt("DebugStepCheck", 7, 5);
565 spt.FuzzyInstructionMatchAt("Return", 7, 3); 565 spt.FuzzyInstructionMatchAt("Return", 7, 5);
566 } 566 }
567 567
568 } // namespace dart 568 } // namespace dart
569 569
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