aboutsummaryrefslogtreecommitdiffstats
path: root/corewords.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'corewords.cpp')
-rw-r--r--corewords.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/corewords.cpp b/corewords.cpp
index de71f3e..3fc5f51 100644
--- a/corewords.cpp
+++ b/corewords.cpp
@@ -321,14 +321,9 @@ Func CoreWords::find(State& state, Word word)
return i >= 0 ? get(i & ~Compiletime) : nullptr;
}
-bool CoreWords::run(int i, State& state)
+void CoreWords::run(int i, State& state)
{
- i &= ~Compiletime;
-
- bool isaword = i >= 0 && i < WordCount;
- if (isaword)
+ if (i >= 0 && i < WordCount)
get(i)(state);
-
- return isaword;
}