[sledge] Model operator new[](unsigned long)

Reviewed By: jvillard

Differential Revision: D25196731

fbshipit-source-id: e6f9f6f22
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 10087c6281
commit 481774c115

@ -982,7 +982,8 @@ let xlate_intrinsic_inst emit_inst x name_segs instr num_actuals loc =
in in
let len = 1 in let len = 1 in
emit_inst ~prefix (Inst.alloc ~reg ~num ~len ~loc) emit_inst ~prefix (Inst.alloc ~reg ~num ~len ~loc)
| ["_Znwm" (* operator new(size_t num) *)] | ["_Znam" (* operator new[](unsigned long) *)]
|["_Znwm" (* operator new(size_t num) *)]
|[ "_ZnwmSt11align_val_t" |[ "_ZnwmSt11align_val_t"
(* operator new(unsigned long, std::align_val_t) *) ] (* operator new(unsigned long, std::align_val_t) *) ]
when num_actuals > 0 -> when num_actuals > 0 ->

Loading…
Cancel
Save