/* GNU Objective C Runtime message lookup
- Copyright (C) 1993-2015 Free Software Foundation, Inc.
+ Copyright (C) 1993-2021 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
This file is part of GCC.
only while debugging the runtime. */
/* #define DEBUG 1 */
-/* FIXME: This file has no business including tm.h. */
/* FIXME: This should be using libffi instead of __builtin_apply
and friends. */
#include "objc-private/error.h"
#include "tconfig.h"
#include "coretypes.h"
-#include "tm.h"
#include "objc/runtime.h"
#include "objc/message.h" /* For objc_msg_lookup(), objc_msg_lookup_super(). */
#include "objc/thr.h"
#include <assert.h> /* For assert */
#include <string.h> /* For strlen */
-#define gen_rtx(args...) 1
-#define gen_rtx_MEM(args...) 1
-#define gen_rtx_REG(args...) 1
-/* Already defined in gcc/coretypes.h. So prevent double definition warning. */
-#undef rtx
-#define rtx int
-
#define INVISIBLE_STRUCT_RETURN 1
/* The uninstalled dispatch table. If a class' dispatch table points
struct sarray *dtable;
struct sarray *super_dtable;
- /* This table could be initialized in init.c. We can not use the
+ /* This table could be initialized in init.c. We cannot use the
class name since the class maintains the instance methods and the
meta class maintains the the class methods yet both share the
same name. Classes should be unique in any program. */