summaryrefslogtreecommitdiff
path: root/src/vm/amd64/unixasmhelpers.S
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-03-22 17:52:27 -0700
committerJan Kotas <jkotas@microsoft.com>2015-03-22 18:18:30 -0700
commit412664b4dfd75c1b4fe0791824b861ac75d9aba3 (patch)
treed5397ae81476f685c8463c2a588ca5880c48b8df /src/vm/amd64/unixasmhelpers.S
parent285f3a582f227b5cf3a942772e7d6aa9155ddda3 (diff)
downloadcoreclr-412664b4dfd75c1b4fe0791824b861ac75d9aba3.tar.gz
coreclr-412664b4dfd75c1b4fe0791824b861ac75d9aba3.tar.bz2
coreclr-412664b4dfd75c1b4fe0791824b861ac75d9aba3.zip
Incorporated codereview feedback
Diffstat (limited to 'src/vm/amd64/unixasmhelpers.S')
-rw-r--r--src/vm/amd64/unixasmhelpers.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/amd64/unixasmhelpers.S b/src/vm/amd64/unixasmhelpers.S
index 75791a7bc7..aaee562323 100644
--- a/src/vm/amd64/unixasmhelpers.S
+++ b/src/vm/amd64/unixasmhelpers.S
@@ -68,8 +68,8 @@ DoRestore:
mov rdx, [rdi + OFFSETOF__MachState__m_Ptrs + 8 * regnum]; \
cmp rax, rdx; \
cmove reg, [rax];
-// .endm
+ // regnum has to match ENUM_CALLEE_SAVED_REGISTERS macro
RestoreReg(R12, 0)
RestoreReg(R13, 1)
RestoreReg(R14, 2)