Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
47580f79
Commit
47580f79
authored
Sep 11, 2008
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug075
R=r OCL=15192 CL=15192
parent
e28ccebd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/cmd/gc/walk.c
src/cmd/gc/walk.c
+1
-0
src/runtime/map.c
src/runtime/map.c
+1
-0
No files found.
src/cmd/gc/walk.c
View file @
47580f79
...
...
@@ -406,6 +406,7 @@ loop:
case
OINDEXPTR
:
if
(
cl
==
2
&&
cr
==
1
)
{
// a,b = map[] - mapaccess2
walktype
(
r
->
left
,
Erv
);
if
(
!
isptrto
(
r
->
left
->
type
,
TMAP
))
break
;
l
=
mapop
(
n
,
top
);
...
...
src/runtime/map.c
View file @
47580f79
...
...
@@ -114,6 +114,7 @@ sys·mapaccess1(Hmap *m, ...)
}
m
->
valalg
->
copy
(
m
->
valsize
,
av
,
0
);
throw
(
"sys·mapaccess1: key not in map"
);
out:
if
(
debug
)
{
...
...
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