Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(150)

Unified Diff: src/cmd/5g/ggen.c

Issue 186263: code review 186263: eliminate the package global name space assumption in o... (Closed)
Patch Set: code review 186263: eliminate the package global name space assumption in o... Created 15 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/cmd/5g/gobj.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/5g/ggen.c
===================================================================
--- a/src/cmd/5g/ggen.c
+++ b/src/cmd/5g/ggen.c
@@ -810,7 +810,7 @@
goto no;
if(!n->left->addable)
goto no;
- if(strcmp(n->left->sym->package, "runtime") != 0)
+ if(n->left->sym->pkg != runtimepkg)
goto no;
if(strcmp(n->left->sym->name, "slicearray") == 0)
goto slicearray;
« no previous file with comments | « no previous file | src/cmd/5g/gobj.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b