summaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/vm.c b/vm.c
index f2dc3bd7..ed22cebb 100644
--- a/vm.c
+++ b/vm.c
@@ -322,9 +322,6 @@ INLINE void vm_set(struct vm_env *dspl, unsigned ref, val newval)
unsigned i = vm_idx(ref);
struct vm_env *env = &dspl[d];
- if (d == 1)
- uw_throwf(error_s, lit("modification of VM static data"), nao);
-
if (ref == 0)
uw_throwf(error_s, lit("modification of t00/nil"), nao);
@@ -340,9 +337,6 @@ INLINE void vm_sm_set(struct vm_env *dspl, unsigned ref, val newval)
unsigned i = vm_sm_idx(ref);
struct vm_env *env = &dspl[d];
- if (d == 1)
- uw_throwf(error_s, lit("modification of VM static data"), nao);
-
if (ref == 0)
uw_throwf(error_s, lit("modification of t00/nil"), nao);