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

Unified Diff: runtime/vm/parser.cc

Issue 15930003: - Allocate symbols for 'get:' and 'set:' (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/parser.cc
===================================================================
--- runtime/vm/parser.cc (revision 23085)
+++ runtime/vm/parser.cc (working copy)
@@ -8347,11 +8347,12 @@
Namespace& import = Namespace::Handle();
intptr_t num_imports = library_.num_imports();
Object& imported_obj = Object::Handle();
+ Library& lib = Library::Handle();
for (int i = 0; i < num_imports; i++) {
import = library_.ImportAt(i);
imported_obj = LookupNameInImport(import, name);
if (!imported_obj.IsNull()) {
- const Library& lib = Library::Handle(import.library());
+ lib ^= import.library();
// TODO(8474): Remove the "Expect" special casing.
if (!first_lib_url.IsNull()
&& (strcmp(name.ToCString(), "Expect") != 0)
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698