Skip to content
This repository was archived by the owner on Apr 25, 2021. It is now read-only.

Commit d827ff9

Browse files
committed
Remove unused compoent_count() and max_components() from ucomponent
1 parent 9c05d5f commit d827ff9

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/main/java/kr/pe/ecmaxp/openpie/arch/OpenPieInterruptHandler.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ class OpenPieInterruptHandler(val vm: OpenPieVirtualMachine) {
152152
}
153153
}
154154
}
155-
SYS_COMPONENT_COUNT -> intr.responseValue(machine.componentCount())
156-
SYS_COMPONENT_MAX -> intr.responseValue(machine.maxComponents())
157155
SYS_COMPONENT_METHODS -> {
158156
val req = intr.readObject() as Array<*>
159157
val node = machine.node().network().node(req[0] as String)

src/main/java/kr/pe/ecmaxp/openpie/arch/consts/OpenPieSystemCallTable.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ const val SYS_SIGNAL_PUSH = SYS_SIGNAL or 3
1818
const val SYS_COMPONENT = 0x040000
1919
const val SYS_COMPONENT_INVOKE = SYS_COMPONENT or 0
2020
const val SYS_COMPONENT_LIST = SYS_COMPONENT or 16
21-
const val SYS_COMPONENT_COUNT = SYS_COMPONENT or 17
22-
const val SYS_COMPONENT_MAX = SYS_COMPONENT or 18
2321
const val SYS_COMPONENT_METHODS = SYS_COMPONENT or 19
2422
const val SYS_COMPONENT_DOC = SYS_COMPONENT or 20
2523

0 commit comments

Comments
 (0)