From e745667530f0d4fd340beebc1545f86c76c78af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 28 Mar 2022 22:28:24 +0800 Subject: update --- script/vm/ref.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'script/vm/ref.lua') diff --git a/script/vm/ref.lua b/script/vm/ref.lua index 9705094c..4765dc8d 100644 --- a/script/vm/ref.lua +++ b/script/vm/ref.lua @@ -24,7 +24,6 @@ end simpleMap = util.switch() : case 'local' : call(function (source, pushResult) - pushResult(source) if source.ref then for _, ref in ipairs(source.ref) do if ref.type == 'setlocal' @@ -33,12 +32,6 @@ simpleMap = util.switch() end end end - - if source.dummy then - for _, res in ipairs(vm.getDefs(source.method.node)) do - pushResult(res) - end - end end) : case 'getlocal' : case 'setlocal' @@ -213,8 +206,6 @@ local function searchByNode(source, pushResult) for _, get in ipairs(n:getGets()) do pushResult(get) end - else - pushResult(n) end end end -- cgit v1.2.3