summaryrefslogtreecommitdiff
path: root/includes/compiler/CodeGen.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--includes/compiler/CodeGen.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/compiler/CodeGen.h b/includes/compiler/CodeGen.h
index fb8ff94..1f012ec 100644
--- a/includes/compiler/CodeGen.h
+++ b/includes/compiler/CodeGen.h
@@ -49,7 +49,7 @@ typedef void (*ArgumentProcessor)(Object *obj, short reg);
extern void process_arguments(ArgumentProcessor func, Boolean flag);
extern void move_assigned_argument(Object *obj, short reg);
extern void assign_labels(Statement *stmt);
-extern void CodeGen_Generator(Statement **statements, Object *func, UInt8 mysteryFlag, Boolean callOnModuleBind);
+extern void CodeGen_Generator(Statement *statements, Object *func, UInt8 mysteryFlag, Boolean callOnModuleBind);
extern void CodeGen_GenVDispatchThunk(Object *thunkobj, Object *obj, SInt32 a, SInt32 b, SInt32 c);
extern void CodeGen_SetupRuntimeObjects(void);
extern Boolean CodeGen_ReInitRuntimeObjects(Boolean is_precompiler);
@@ -59,10 +59,10 @@ extern void CodeGen_ParseDeclSpec(HashNameNode *identifier, DeclInfo *declinfo);
extern void CodeGen_ParsePragma(HashNameNode *name);
extern void CodeGen_UpdateObject(Object *object);
extern void CodeGen_UpdateBackEndOptions(void);
-extern void CodeGen_objc_method_self_offset();
-extern void CodeGen_objc_method_sel_offset();
-extern void CodeGen_objc_method_arg_offset();
-extern void CodeGen_objc_method_args_size();
+extern SInt32 CodeGen_objc_method_self_offset(ObjCMethod *meth);
+extern SInt32 CodeGen_objc_method_sel_offset(ObjCMethod *meth);
+extern SInt32 CodeGen_objc_method_arg_offset(ObjCMethod *meth, ObjCMethodArg *arg);
+extern SInt32 CodeGen_objc_method_args_size(ObjCMethod *meth);
extern ENode *CodeGen_HandleIntrinsicCall(Object *func, ENodeList *arg_exprs);
extern ENode *CodeGen_HandleTypeCast(ENode *expr, Type *type, UInt32 qual);
extern short CodeGen_AssignCheck(ENode *expr, Type *type, Boolean flag1, Boolean flag2);