| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/flow_graph_builder.h" | 5 #include "vm/flow_graph_builder.h" |
| 6 | 6 |
| 7 #include "lib/invocation_mirror.h" | 7 #include "lib/invocation_mirror.h" |
| 8 #include "vm/ast_printer.h" | 8 #include "vm/ast_printer.h" |
| 9 #include "vm/bit_vector.h" | 9 #include "vm/bit_vector.h" |
| 10 #include "vm/compiler.h" | 10 #include "vm/compiler.h" |
| (...skipping 4603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4614 block_marks); | 4614 block_marks); |
| 4615 ASSERT(found); | 4615 ASSERT(found); |
| 4616 } | 4616 } |
| 4617 | 4617 |
| 4618 | 4618 |
| 4619 void FlowGraphBuilder::Bailout(const char* reason) const { | 4619 void FlowGraphBuilder::Bailout(const char* reason) const { |
| 4620 const Function& function = parsed_function_.function(); | 4620 const Function& function = parsed_function_.function(); |
| 4621 Report::MessageF(Report::kBailout, | 4621 Report::MessageF(Report::kBailout, |
| 4622 Script::Handle(function.script()), | 4622 Script::Handle(function.script()), |
| 4623 function.token_pos(), | 4623 function.token_pos(), |
| 4624 Report::AtLocation, |
| 4624 "FlowGraphBuilder Bailout: %s %s", | 4625 "FlowGraphBuilder Bailout: %s %s", |
| 4625 String::Handle(function.name()).ToCString(), | 4626 String::Handle(function.name()).ToCString(), |
| 4626 reason); | 4627 reason); |
| 4627 UNREACHABLE(); | 4628 UNREACHABLE(); |
| 4628 } | 4629 } |
| 4629 | 4630 |
| 4630 } // namespace dart | 4631 } // namespace dart |
| OLD | NEW |