projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6a670
)
Call idSetRelocFlags in emitIns_R_L only if opts.compReloc src/jit/emitarm.cpp
author
Egor Chesakov
<Egor.Chesakov@microsoft.com>
Thu, 23 Aug 2018 05:25:08 +0000
(22:25 -0700)
committer
Egor Chesakov
<Egor.Chesakov@microsoft.com>
Thu, 23 Aug 2018 18:27:31 +0000
(11:27 -0700)
src/jit/emitarm.cpp
patch
|
blob
|
history
diff --git
a/src/jit/emitarm.cpp
b/src/jit/emitarm.cpp
index 2a4c06fe72857c011897e288f8f7391364204445..b1b263bcd35417fa436567b79f1b23e28faf8b8c 100644
(file)
--- a/
src/jit/emitarm.cpp
+++ b/
src/jit/emitarm.cpp
@@
-4290,9
+4290,12
@@
void emitter::emitIns_R_L(instruction ins, emitAttr attr, BasicBlock* dst, regNu
id->idjNext = emitCurIGjmpList;
emitCurIGjmpList = id;
- // Set the relocation flags - these give hint to zap to perform
- // relocation of the specified 32bit address.
- id->idSetRelocFlags(attr);
+ if (emitComp->opts.compReloc)
+ {
+ // Set the relocation flags - these give hint to zap to perform
+ // relocation of the specified 32bit address.
+ id->idSetRelocFlags(attr);
+ }
#if EMITTER_STATS
emitTotalIGjmps++;