Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
0058a349
Commit
0058a349
authored
Jun 09, 2017
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos [ci skip]
parent
af9612bf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
+1
-1
compiler/specialise/Specialise.hs
compiler/specialise/Specialise.hs
+1
-1
rts/linker/Elf.c
rts/linker/Elf.c
+1
-1
rts/linker/ElfTypes.h
rts/linker/ElfTypes.h
+1
-1
rts/sm/HeapAlloc.h
rts/sm/HeapAlloc.h
+1
-1
No files found.
compiler/llvmGen/LlvmCodeGen/CodeGen.hs
View file @
0058a349
...
...
@@ -506,7 +506,7 @@ genCallExtract
::
ForeignTarget
-- ^ PrimOp
->
Width
-- ^ Width of the operands.
->
(
CmmActual
,
CmmActual
)
-- ^ Actual arguments.
->
(
LlvmType
,
LlvmType
)
-- ^ LL
LVM types of the returned stur
ct.
->
(
LlvmType
,
LlvmType
)
-- ^ LL
VM types of the returned stru
ct.
->
LlvmM
(
LlvmVar
,
LlvmVar
,
StmtData
)
genCallExtract
target
@
(
PrimTarget
op
)
w
(
argA
,
argB
)
(
llvmTypeA
,
llvmTypeB
)
=
do
let
width
=
widthToLlvmInt
w
...
...
compiler/specialise/Specialise.hs
View file @
0058a349
...
...
@@ -1854,7 +1854,7 @@ We gather the call info for (f @T $df), and we don't want to drop it
when we come across the binding for $df. So we add $df to the floats
and continue. But then we have to add $c== to the floats, and so on.
These all float above the binding for 'f', and and now we can
successfull
l
y specialise 'f'.
successfully specialise 'f'.
So the DictBinds in (ud_binds :: Bag DictBind) may contain
non-dictionary bindings too.
...
...
rts/linker/Elf.c
View file @
0058a349
...
...
@@ -1118,7 +1118,7 @@ do_Elf_Rel_relocations ( ObjectCode* oc, char* ehdrC,
case
COMPAT_R_ARM_CALL
:
case
COMPAT_R_ARM_JUMP24
:
{
// N.B. LLVM's LLD linker's relocation implement is a fantastic
// N.B. LLVM's LLD linker's relocation implement
ation
is a fantastic
// resource
StgWord32
*
word
=
(
StgWord32
*
)
P
;
StgInt32
imm
=
(
*
word
&
((
1
<<
24
)
-
1
))
<<
2
;
...
...
rts/linker/ElfTypes.h
View file @
0058a349
...
...
@@ -149,7 +149,7 @@ struct _Stub {
void
*
target
;
/* flags can hold architecture specific information they are used during
* lookup of stubs as well. Thus two stubs for the same target with
* different flags are considerd unequal.
* different flags are consider
e
d unequal.
*/
uint8_t
flags
;
struct
_Stub
*
next
;
...
...
rts/sm/HeapAlloc.h
View file @
0058a349
...
...
@@ -132,7 +132,7 @@ extern StgWord8 mblock_map[];
#if defined(x86_64_HOST_ARCH)
// 32bits are enough for 'entry' as modern amd64 boxes have
// only 48bit sized virtual addres.
// only 48bit sized virtual addres
s
.
typedef
StgWord32
MbcCacheLine
;
#else
// 32bits is not enough here as some arches (like ia64) use
...
...
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