Commit 3367dd57 authored by qinsoon's avatar qinsoon

fix broken merge

parent f6da0a00
......@@ -674,6 +674,7 @@ pub fn estimate_insts_for_ir(inst: &Instruction) -> usize {
CurrentStack => 10,
KillStack(_) => 10,
Throw(_) => 10,
SwapStackExpr { .. } | SwapStackExc { .. } | SwapStackKill { .. } => 10,
CommonInst_GetThreadLocal | CommonInst_SetThreadLocal(_) => 10,
CommonInst_Pin(_) | CommonInst_Unpin(_) => 10,
......
......@@ -307,6 +307,7 @@ fn dfs(cur: MuID, stack: &mut Vec<MuID>, visited: &mut Vec<MuID>, func: &mut MuF
// call
Call { ref resume, .. } |
CCall { ref resume, .. } |
SwapStackExc { ref resume, .. } |
ExnInstruction { ref resume, .. } => {
let ref normal = resume.normal_dest;
let ref exn = resume.exn_dest;
......
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