Remove commented out code

This commit is contained in:
Brandon Fish 2019-01-20 09:43:43 -06:00
parent 922ec686e1
commit e245742251

View File

@ -115,14 +115,12 @@ impl FuncResolverBuilder {
Err(CompileError::InternalError { Err(CompileError::InternalError {
msg: format!("unexpected libcall: {}", libcall), msg: format!("unexpected libcall: {}", libcall),
})? })?
// panic!("unexpected libcall {}", libcall);
} }
}, },
RelocationType::Intrinsic(ref name) => { RelocationType::Intrinsic(ref name) => {
Err(CompileError::InternalError { Err(CompileError::InternalError {
msg: format!("unexpected intrinsic: {}", name), msg: format!("unexpected intrinsic: {}", name),
})? })?
// panic!("unexpected intrinsic {}", name);
} }
RelocationType::VmCall(vmcall) => match vmcall { RelocationType::VmCall(vmcall) => match vmcall {
VmCall::LocalStaticMemoryGrow => vmcalls::local_static_memory_grow as _, VmCall::LocalStaticMemoryGrow => vmcalls::local_static_memory_grow as _,