summaryrefslogtreecommitdiff
path: root/includes/compiler/InlineAsm.h
diff options
context:
space:
mode:
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__