Skip to content

Commit

Permalink
Delete ancient inoperable metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Bike committed Sep 25, 2023
1 parent d24c2f4 commit daf729b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions include/clasp/clbind/derivable.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ redirect its virtual functions to the Derivable<T> functions. */
template <class Alien>
class Derivable : public core::DerivableCxxObject_O, public Alien {
public:
// All classes derived from Derivable must be put in the non-moving pool
struct metadata_gc_do_not_move {};
typedef Derivable<Alien> DerivableType;
typedef Alien AlienType;
public:
Expand Down
1 change: 0 additions & 1 deletion include/clasp/core/hashTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ struct KeyValuePair {

FORWARD(HashTable);
class HashTable_O : public HashTableBase_O {
struct metadata_bootstrap_class {};
friend T_sp cl__make_hash_table(T_sp test, Fixnum_sp size, Number_sp rehash_size, Real_sp orehash_threshold, Symbol_sp weakness, T_sp debug, T_sp thread_safe, T_sp hashf);
friend class HashTableReadLock;
friend class HashTableWriteLock;
Expand Down
1 change: 0 additions & 1 deletion include/clasp/core/hashTableBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ THE SOFTWARE.
namespace core {
FORWARD(HashTableBase);
class HashTableBase_O : public General_O {
struct metadata_bootstrap_class {};
LISP_ABSTRACT_CLASS(core, CorePkg, HashTableBase_O, "HashTableBase",core::General_O);
HashTableBase_O() {};
public:
Expand Down
5 changes: 1 addition & 4 deletions include/clasp/core/symbol.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,7 @@ class VariableCell_O : public General_O {

FORWARD(Symbol);
class Symbol_O : public General_O {
struct metadata_bootstrap_class {};
struct metadata_gc_do_not_move {};

public:
public:
// This MUST match the layout for %symbol% in cmpintrinsics.lisp and the sanity check core__verify_symbol_layout
SimpleString_sp _Name; // offset 8
std::atomic<T_sp> _HomePackage; // offset=16 NIL or Package
Expand Down
1 change: 0 additions & 1 deletion include/clasp/gctools/gcweak.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ void safeRun(std::function<Proto> f) {
namespace gctools {

struct WeakObject {
struct metadata_always_fix_pointers_to_derived_classes;
WeakObject() {};

virtual void *dependentPtr() const { return NULL; };
Expand Down

0 comments on commit daf729b

Please sign in to comment.