History

Fix some issues when building on mac

elinor fung committed 9 years ago

Commit 34cadb21 parent db76c0c12 files · +47 −44Browse files

Showing the changes to src/vm/execution_table.cpp (1 of 12 files). Show all

Unified · Split

src/vm/execution_table.cpp+2−2
@@ -708,7 +708,7 @@ namespace · 707 unmodified lines
708 const auto index = vt_ref<word_t>(r.mid);708 const auto index = vt_ref<word_t>(r.mid);
709 const auto rune = str->get_rune(index);709 const auto rune = str->get_rune(index);
710 710
711 vt_ref<rune_t>(r.dest) = rune;711 vt_ref<runtime::rune_t>(r.dest) = rune;
712 }712 }
713 713
714 // [SPEC] 'Insert Character' op code714 // [SPEC] 'Insert Character' op code
@@ -721,7 +721,7 @@ namespace · 6 unmodified lines
721 // dst[src2] = src1721 // dst[src2] = src1
722 EXEC_DECL(insc)722 EXEC_DECL(insc)
723 {723 {
724 auto rune = vt_ref<rune_t>(r.src);724 auto rune = vt_ref<runtime::rune_t>(r.src);
725 auto index = vt_ref<word_t>(r.mid);725 auto index = vt_ref<word_t>(r.mid);
726 auto str = at_val<vm_string_t>(r.dest);726 auto str = at_val<vm_string_t>(r.dest);
727 if (str == nullptr)727 if (str == nullptr)