Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/assembler_x86.hpp @ 420:a1980da045cc
6462850: generate biased locking code in C2 ideal graph
Summary: Inline biased locking code in C2 ideal graph during macro nodes expansion
Reviewed-by: never
author | kvn |
---|---|
date | Fri, 07 Nov 2008 09:29:38 -0800 |
parents | 2649e5276dd7 |
children | 56aae7be60d4 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86.hpp Thu Nov 06 20:00:03 2008 -0800 +++ b/src/cpu/x86/vm/assembler_x86.hpp Fri Nov 07 09:29:38 2008 -0800 @@ -1780,7 +1780,8 @@ // check info (currently consumed only by C1). If // swap_reg_contains_mark is true then returns -1 as it is assumed // the calling code has already passed any potential faults. - int biased_locking_enter(Register lock_reg, Register obj_reg, Register swap_reg, Register tmp_reg, + int biased_locking_enter(Register lock_reg, Register obj_reg, + Register swap_reg, Register tmp_reg, bool swap_reg_contains_mark, Label& done, Label* slow_case = NULL, BiasedLockingCounters* counters = NULL);