Add "final" marker to a number of classes

Devirtualization is an optimization in the generated assembly: when a
class C is polymorphic but also final, ``((C *)ptr)->func()`` can be
turned from an indirect into a static call.
This commit is contained in:
Jan Engelhardt
2024-11-03 10:56:15 +01:00
parent a58c2752e5
commit 71772b9c9c
68 changed files with 2145 additions and 2145 deletions

View File

@@ -86,107 +86,107 @@ public:
virtual int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class LevelScript_0000 : public BaseScript {
class LevelScript_0000 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_0810 : public BaseScript {
class CustomObjectScript_0810 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_0811 : public BaseScript {
class CustomObjectScript_0811 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_0812 : public BaseScript {
class CustomObjectScript_0812 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_0813 : public BaseScript {
class CustomObjectScript_0813 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_0876 : public BaseScript {
class CustomObjectScript_0876 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_0875 : public BaseScript {
class CustomObjectScript_0875 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_0859 : public BaseScript {
class CustomObjectScript_0859 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class CustomObjectScript_085A : public BaseScript {
class CustomObjectScript_085A final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0009 : public BaseScript {
class TriggerScript_0009 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0008 : public BaseScript {
class TriggerScript_0008 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0007 : public BaseScript {
class TriggerScript_0007 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0006 : public BaseScript {
class TriggerScript_0006 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0003 : public BaseScript {
class TriggerScript_0003 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0002 : public BaseScript {
class TriggerScript_0002 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0001 : public BaseScript {
class TriggerScript_0001 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0000 : public BaseScript {
class TriggerScript_0000 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_000B : public BaseScript {
class TriggerScript_000B final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_000A : public BaseScript {
class TriggerScript_000A final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0005 : public BaseScript {
class TriggerScript_0005 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};
class TriggerScript_0004 : public BaseScript {
class TriggerScript_0004 final : public BaseScript {
public:
int16_t CallEvent(int event, tOSIRISEventInfo *data);
};