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

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

Issue 1574213005: Report missing semicolons after function declarations (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 | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | 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) 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
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
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698