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

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

Issue 8547013: Add missing argument to HANDLESCOPE(). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 6
7 #include "vm/assembler.h" 7 #include "vm/assembler.h"
8 #include "vm/ast_printer.h" 8 #include "vm/ast_printer.h"
9 #include "vm/code_generator.h" 9 #include "vm/code_generator.h"
10 #include "vm/code_index_table.h" 10 #include "vm/code_index_table.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 all_nodes[n]->SetIcDataArrayAtId(node_id, *arrays[i]); 60 all_nodes[n]->SetIcDataArrayAtId(node_id, *arrays[i]);
61 } 61 }
62 } 62 }
63 ASSERT(found_node); 63 ASSERT(found_node);
64 } 64 }
65 } 65 }
66 66
67 67
68 void Compiler::Compile(const Library& library, const Script& script) { 68 void Compiler::Compile(const Library& library, const Script& script) {
69 if (FLAG_trace_compiler) { 69 if (FLAG_trace_compiler) {
70 HANDLESCOPE(); 70 HANDLESCOPE(Isolate::Current());
71 const String& script_url = String::Handle(script.url()); 71 const String& script_url = String::Handle(script.url());
72 // TODO(iposva): Extract script kind. 72 // TODO(iposva): Extract script kind.
73 OS::Print("Compiling %s '%s'\n", "", script_url.ToCString()); 73 OS::Print("Compiling %s '%s'\n", "", script_url.ToCString());
74 } 74 }
75 const String& library_key = String::Handle(library.private_key()); 75 const String& library_key = String::Handle(library.private_key());
76 script.Tokenize(library_key); 76 script.Tokenize(library_key);
77 Parser::ParseCompilationUnit(library, script); 77 Parser::ParseCompilationUnit(library, script);
78 } 78 }
79 79
80 80
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 kNoArgumentNames)); 264 kNoArgumentNames));
265 if (result.IsUnhandledException()) { 265 if (result.IsUnhandledException()) {
266 // TODO(srdjan): implement proper exit from compiler. 266 // TODO(srdjan): implement proper exit from compiler.
267 UNIMPLEMENTED(); 267 UNIMPLEMENTED();
268 } 268 }
269 return result.raw(); 269 return result.raw();
270 } 270 }
271 271
272 272
273 } // namespace dart 273 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698