Move pattern interpretation to compile time (#904)

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
Geoff RomerandJon Meow authored and GitHub committed 2021-10-20 10:05:17 -07:00
1 parent 629cfb8c4d
commit 79e3d284b4
6 files changed
+58 -58

No files matched your search

@@ -101,7 +101,7 @@ class Interpreter {
// stack, then creates a new stack frame which calls the specified function
// with the specified arguments.
struct CallFunction {
Nonnull<const FunctionValue*> function;
Nonnull<const FunctionDeclaration*> function;
Nonnull<const Value*> args;
SourceLocation source_loc;
};