| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |