summaryrefslogtreecommitdiff
path: root/includes/compiler/InlineAsm.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-10 11:05:21 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-10 11:05:21 +0000
commitaec1b8dddc68ecb8288ec6132932e4c7b4bca09f (patch)
tree8138328fe43bcc5fff690dc60caac79aa570ab2b /includes/compiler/InlineAsm.h
parentfcfbafff31869ed808bff0639532db1828660e92 (diff)
downloadMWCC-aec1b8dddc68ecb8288ec6132932e4c7b4bca09f.tar.gz
MWCC-aec1b8dddc68ecb8288ec6132932e4c7b4bca09f.zip
getting close to done
Diffstat (limited to '')
-rw-r--r--includes/compiler/InlineAsm.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/includes/compiler/InlineAsm.h b/includes/compiler/InlineAsm.h
index ba92400..ca0032e 100644
--- a/includes/compiler/InlineAsm.h
+++ b/includes/compiler/InlineAsm.h
@@ -160,6 +160,11 @@ typedef struct IAEffect {
SInt32 size;
} IAEffect;
+enum {
+ IAMaxOperands = 16,
+ IAMaxLabels = 16
+};
+
typedef struct IAEffects {
Boolean x0;
Boolean x1;
@@ -169,8 +174,8 @@ typedef struct IAEffects {
Boolean x5;
SInt32 numoperands;
SInt32 numlabels;
- IAEffect operands[16];
- CLabel *labels[16];
+ IAEffect operands[IAMaxOperands];
+ CLabel *labels[IAMaxLabels];
} IAEffects;
#ifdef __MWERKS__