summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/Intrinsics.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-20 11:56:38 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-20 11:56:38 +0000
commit0905072b3ccfcb394b1dca2405a55cff4e2b9271 (patch)
treec7c6f87ecf257c4e7b6a92355e75030165731371 /compiler_and_linker/unsorted/Intrinsics.c
parent7d986adf37220e1981a707745b784b078de4e3bc (diff)
downloadMWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.tar.gz
MWCC-0905072b3ccfcb394b1dca2405a55cff4e2b9271.zip
tons more renaming of stuff
Diffstat (limited to 'compiler_and_linker/unsorted/Intrinsics.c')
-rw-r--r--compiler_and_linker/unsorted/Intrinsics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler_and_linker/unsorted/Intrinsics.c b/compiler_and_linker/unsorted/Intrinsics.c
index 7384b5d..59d3a24 100644
--- a/compiler_and_linker/unsorted/Intrinsics.c
+++ b/compiler_and_linker/unsorted/Intrinsics.c
@@ -2246,7 +2246,7 @@ int is_intrinsic_function_call(ENode *funccall) {
return
ENODE_IS(funcref, EOBJREF) &&
funcref->data.objref->datatype == DFUNC &&
- (TYPE_FUNC(funcref->data.objref->type)->flags & FUNC_FLAGS_200);
+ (TYPE_FUNC(funcref->data.objref->type)->flags & FUNC_INTRINSIC);
}
static void abs_intrinsic(ENode *expr, short outputReg, Operand *output) {
@@ -4552,7 +4552,7 @@ void Intrinsics_SetupRuntimeObjects(void) {
for (i = 0; i < MaxIntrinsics; i++) {
CError_ASSERT(6600, intrinsics[i]);
intrinsics[i]->u.func.u.intrinsicid = i;
- TYPE_FUNC(intrinsics[i]->type)->flags |= FUNC_FLAGS_200;
+ TYPE_FUNC(intrinsics[i]->type)->flags |= FUNC_INTRINSIC;
CScope_AddGlobalObject(intrinsics[i]);
}