Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7d6fece2
Commit
7d6fece2
authored
Feb 02, 2013
by
Gabor Greif
💬
Browse files
some more typos
parent
a0668444
Changes
6
Hide whitespace changes
Inline
Side-by-side
compiler/codeGen/StgCmmCon.hs
View file @
7d6fece2
...
...
@@ -129,7 +129,7 @@ buildDynCon' :: DynFlags
{- We used to pass a boolean indicating whether all the
args were of size zero, so we could use a static
construtor; but I concluded that it just isn't worth it.
constru
c
tor; but I concluded that it just isn't worth it.
Now I/O uses unboxed tuples there just aren't any constructors
with all size-zero args.
...
...
compiler/ghci/ByteCodeItbls.lhs
View file @
7d6fece2
...
...
@@ -174,7 +174,7 @@ mkJumpToAddr a
#elif powerpc_TARGET_ARCH
-- We'll use r12, for no particular reason.
-- 0xDEADBEEF stands for the adress:
-- 0xDEADBEEF stands for the ad
d
ress:
-- 3D80DEAD lis r12,0xDEAD
-- 618CBEEF ori r12,r12,0xBEEF
-- 7D8903A6 mtctr r12
...
...
compiler/hsSyn/HsDecls.lhs
View file @
7d6fece2
...
...
@@ -634,7 +634,7 @@ pprTyClDeclFlavour (ForeignType {}) = ptext (sLit "foreign type")
data HsDataDefn name -- The payload of a data type defn
-- Used *both* for vanilla data declarations,
-- *and* for data family instances
= -- | Declares a data type or newtype, giving its construcors
= -- | Declares a data type or newtype, giving its construc
t
ors
-- @
-- data/newtype T a = <constrs>
-- data/newtype instance T [a] = <constrs>
...
...
compiler/main/HscTypes.lhs
View file @
7d6fece2
...
...
@@ -884,7 +884,7 @@ data CgGuts
cg_binds :: CoreProgram,
-- ^ The tidied main bindings, including
-- previously-implicit bindings for record and class
-- selectors, and data construtor wrappers. But *not*
-- selectors, and data constru
c
tor wrappers. But *not*
-- data constructor workers; reason: we we regard them
-- as part of the code-gen of tycons
...
...
compiler/stgSyn/StgSyn.lhs
View file @
7d6fece2
...
...
@@ -118,9 +118,9 @@ isDllConApp dflags con args
this_pkg = thisPackage dflags
-- True of machine add
d
resses; these are the things that don't
-- True of machine addresses; these are the things that don't
-- work across DLLs. The key point here is that VoidRep comes
-- out False, so that a top level nullary GADT construtor is
-- out False, so that a top level nullary GADT constru
c
tor is
-- False for isDllConApp
-- data T a where
-- T1 :: T Int
...
...
rts/posix/OSMem.c
View file @
7d6fece2
...
...
@@ -99,7 +99,7 @@ my_mmap (void *addr, W_ size)
kern_return_t
err
=
0
;
ret
=
addr
;
if
(
addr
)
// try to allocate at adress
if
(
addr
)
// try to allocate at ad
d
ress
err
=
vm_allocate
(
mach_task_self
(),(
vm_address_t
*
)
&
ret
,
size
,
FALSE
);
if
(
!
addr
||
err
)
// try to allocate anywhere
err
=
vm_allocate
(
mach_task_self
(),(
vm_address_t
*
)
&
ret
,
size
,
TRUE
);
...
...
Write
Preview
Supports
Markdown
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