summaryrefslogtreecommitdiff
path: root/usr/austin/eval/scope.go
diff options
context:
space:
mode:
Diffstat (limited to 'usr/austin/eval/scope.go')
-rw-r--r--usr/austin/eval/scope.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/austin/eval/scope.go b/usr/austin/eval/scope.go
index 6d89d00d7..aed896f95 100644
--- a/usr/austin/eval/scope.go
+++ b/usr/austin/eval/scope.go
@@ -51,14 +51,14 @@ func (b *block) DefineVar(name string, t Type) *Variable {
if _, ok := b.defs[name]; ok {
return nil;
}
- v := b.DefineTemp(t);
+ v := b.DefineSlot(t);
if v != nil {
b.defs[name] = v;
}
return v;
}
-func (b *block) DefineTemp(t Type) *Variable {
+func (b *block) DefineSlot(t Type) *Variable {
if b.inner != nil {
log.Crash("Failed to exit child block before defining variable");
}