GitLab will be upgraded on June 2nd 2020 at 2.00 pm (AEDT) to 3.00 pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to local Gitlab admin team.

Commit db46d028 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Fixed invalid IR

parent 9c395884
......@@ -94,6 +94,8 @@ int main(int argc, char** argv) {
SYM(string_r);
b->new_type_hybrid(b, string_t, NULL, 0, i8);
b->new_type_ref(b, string_r, string_t);
SYM(string_p);
b->new_type_uptr(b, string_p, string_t);
// static string_r hw_string;
SYM(g_hello_world);
......@@ -169,7 +171,7 @@ int main(int argc, char** argv) {
SYM(inst_ptrcast);
SYM(var_x);
b->new_conv(b, inst_ptrcast, var_x, MU_CONV_PTRCAST,
ppi8, pvoid, hw_ptr);
string_p, pvoid, hw_ptr);
// var_y = write(const_i32_1, var_x, const_i64_hwsz); // inst_write
SYM(var_y);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment