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

Side by Side Diff: runtime/vm/flow_graph_compiler.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/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.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) 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/globals.h" // Needed here to get TARGET_ARCH_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/bit_vector.h" 9 #include "vm/bit_vector.h"
10 #include "vm/cha.h" 10 #include "vm/cha.h"
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 } 620 }
621 } 621 }
622 } 622 }
623 623
624 624
625 void FlowGraphCompiler::Bailout(const char* reason) { 625 void FlowGraphCompiler::Bailout(const char* reason) {
626 const Function& function = parsed_function_.function(); 626 const Function& function = parsed_function_.function();
627 Report::MessageF(Report::kBailout, 627 Report::MessageF(Report::kBailout,
628 Script::Handle(function.script()), 628 Script::Handle(function.script()),
629 function.token_pos(), 629 function.token_pos(),
630 Report::AtLocation,
630 "FlowGraphCompiler Bailout: %s %s", 631 "FlowGraphCompiler Bailout: %s %s",
631 String::Handle(function.name()).ToCString(), 632 String::Handle(function.name()).ToCString(),
632 reason); 633 reason);
633 UNREACHABLE(); 634 UNREACHABLE();
634 } 635 }
635 636
636 637
637 void FlowGraphCompiler::EmitTrySync(Instruction* instr, intptr_t try_index) { 638 void FlowGraphCompiler::EmitTrySync(Instruction* instr, intptr_t try_index) {
638 ASSERT(is_optimizing()); 639 ASSERT(is_optimizing());
639 Environment* env = instr->env()->Outermost(); 640 Environment* env = instr->env()->Outermost();
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1882 1883
1883 1884
1884 void FlowGraphCompiler::FrameStateClear() { 1885 void FlowGraphCompiler::FrameStateClear() {
1885 ASSERT(!is_optimizing()); 1886 ASSERT(!is_optimizing());
1886 frame_state_.TruncateTo(0); 1887 frame_state_.TruncateTo(0);
1887 } 1888 }
1888 #endif 1889 #endif
1889 1890
1890 1891
1891 } // namespace dart 1892 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698