Skip to content

Commit 38e566e

Browse files
committed
win32: Add and use a simplistic macamd64.inc
1 parent 4b354d3 commit 38e566e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

include-hax/fake_masm/macamd64.inc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
push_reg macro Reg
2+
push Reg
3+
.pushreg Reg
4+
endm
5+
6+
alloc_stack macro Size
7+
sub rsp, Size
8+
.allocstack Size
9+
endm

src/trusted/service_runtime/arch/x86_64/nacl_switch_unwind_win.asm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; Use of this source code is governed by a BSD-style license that can be
33
; found in the LICENSE file.
44

5-
include ksamd64.inc
5+
include macamd64.inc
66

77
EXTERN NaClSwitch : QWORD
88

0 commit comments

Comments
 (0)