Skip to content

Commit f91e2cf

Browse files
committed
Remove dead code and update outdated comment
Signed-off-by: Stefan Marr <git@stefan-marr.de>
1 parent 4f049ae commit f91e2cf

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/primitives/Method.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static vm_oop_t mSignature(vm_oop_t rcvr) {
2020
}
2121

2222
static void mInvokeOnWith(VMFrame* frame) {
23-
// REM: this is a clone with _Primitive::InvokeOn_With_
23+
// REM: this is a clone with _Primitive pInvokeOnWith
2424
auto* args = static_cast<VMArray*>(frame->Pop());
2525
auto* rcvr = frame->Pop();
2626
auto* mthd = static_cast<VMMethod*>(frame->Pop());

src/primitives/Method.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66
class _Method : public PrimitiveContainer {
77
public:
88
_Method();
9-
10-
void InvokeOn_With_(VMFrame*);
119
};

src/primitives/Primitive.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static vm_oop_t pSignature(vm_oop_t rcvr) {
1818
}
1919

2020
static void pInvokeOnWith(VMFrame* frame) {
21-
// REM: this is a clone with _Primitive::InvokeOn_With_
21+
// REM: this is a clone with _Method mInvokeOnWith
2222
auto* args = static_cast<VMArray*>(frame->Pop());
2323
auto* rcvr = frame->Pop();
2424
auto* mthd = static_cast<VMInvokable*>(frame->Pop());

src/primitives/Primitive.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66
class _Primitive : public PrimitiveContainer {
77
public:
88
_Primitive();
9-
10-
void InvokeOn_With_(VMFrame*);
119
};

0 commit comments

Comments
 (0)