about summary refs log tree commit diff stats
path: root/030container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-17 12:39:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-17 12:39:09 -0700
commitab6ed192b75f084a023cde85ba5b2b65e741d966 (patch)
tree28540a0567ee19b0805831e1e433c65f94ff6c1a /030container.cc
parentdc347ce2d95504a98bb542b48041f516a7f37003 (diff)
downloadmu-ab6ed192b75f084a023cde85ba5b2b65e741d966.tar.gz
1585
Diffstat (limited to '030container.cc')
-rw-r--r--030container.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/030container.cc b/030container.cc
index 5b150250..e863f92d 100644
--- a/030container.cc
+++ b/030container.cc
@@ -108,7 +108,7 @@ case GET: {
   long long int base_address = base.value;
   type_number base_type = base.types.at(0);
   assert(Type[base_type].kind == container);
-  assert(isa_literal(current_instruction().ingredients.at(1)));
+  assert(is_literal(current_instruction().ingredients.at(1)));
   assert(scalar(ingredients.at(1)));
   long long int offset = ingredients.at(1).at(0);
   long long int src = base_address;
@@ -156,7 +156,7 @@ case GET_ADDRESS: {
   long long int base_address = base.value;
   type_number base_type = base.types.at(0);
   assert(Type[base_type].kind == container);
-  assert(isa_literal(current_instruction().ingredients.at(1)));
+  assert(is_literal(current_instruction().ingredients.at(1)));
   assert(scalar(ingredients.at(1)));
   long long int offset = ingredients.at(1).at(0);
   long long int result = base_address;