Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
d2472eb8
Commit
d2472eb8
authored
Nov 02, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
>>= and <<= shift bug
R=r OCL=18322 CL=18322
parent
2fef4c71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gen.c
src/cmd/6g/gen.c
+3
-3
No files found.
src/cmd/6g/gen.c
View file @
d2472eb8
...
...
@@ -752,12 +752,12 @@ cgen_asop(Node *n)
}
if
(
nr
->
ullman
>
nl
->
ullman
)
{
regalloc
(
&
n2
,
n
l
->
type
,
N
);
regalloc
(
&
n2
,
n
r
->
type
,
N
);
cgen
(
nr
,
&
n2
);
igen
(
nl
,
&
n1
,
N
);
}
else
{
igen
(
nl
,
&
n1
,
N
);
regalloc
(
&
n2
,
n
l
->
type
,
N
);
regalloc
(
&
n2
,
n
r
->
type
,
N
);
cgen
(
nr
,
&
n2
);
}
...
...
@@ -766,7 +766,7 @@ cgen_asop(Node *n)
n3
.
right
=
&
n2
;
n3
.
op
=
n
->
etype
;
regalloc
(
&
n4
,
n
r
->
type
,
N
);
regalloc
(
&
n4
,
n
l
->
type
,
N
);
cgen
(
&
n3
,
&
n4
);
gmove
(
&
n4
,
&
n1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment