Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_MacroAssembler_x86.hpp @ 7126:ce248dc0a656
removed all Graal modifications to ci and c1
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 03 Dec 2012 17:54:05 +0100 |
parents | b648304ba4ff |
children |
comparison
equal
deleted
inserted
replaced
7125:1baf7f1e3f23 | 7126:ce248dc0a656 |
---|---|
49 // hdr : must be rax, contents destroyed | 49 // hdr : must be rax, contents destroyed |
50 // obj : must point to the object to lock, contents preserved | 50 // obj : must point to the object to lock, contents preserved |
51 // disp_hdr: must point to the displaced header location, contents preserved | 51 // disp_hdr: must point to the displaced header location, contents preserved |
52 // scratch : scratch register, contents destroyed | 52 // scratch : scratch register, contents destroyed |
53 // returns code offset at which to add null check debug information | 53 // returns code offset at which to add null check debug information |
54 int lock_object (Register swap, Register obj, Register disp_hdr, Register scratch, Label& slow_case, bool use_basic_object_lock = true); | 54 int lock_object (Register swap, Register obj, Register disp_hdr, Register scratch, Label& slow_case); |
55 | 55 |
56 // unlocking | 56 // unlocking |
57 // hdr : contents destroyed | 57 // hdr : contents destroyed |
58 // obj : must point to the object to lock, contents preserved | 58 // obj : must point to the object to lock, contents preserved |
59 // disp_hdr: must be eax & must point to the displaced header location, contents destroyed | 59 // disp_hdr: must be eax & must point to the displaced header location, contents destroyed |
60 void unlock_object(Register swap, Register obj, Register lock, Label& slow_case, bool use_basic_object_lock = true); | 60 void unlock_object(Register swap, Register obj, Register lock, Label& slow_case); |
61 | 61 |
62 void initialize_object( | 62 void initialize_object( |
63 Register obj, // result: pointer to object after successful allocation | 63 Register obj, // result: pointer to object after successful allocation |
64 Register klass, // object klass | 64 Register klass, // object klass |
65 Register var_size_in_bytes, // object size in bytes if unknown at compile time; invalid otherwise | 65 Register var_size_in_bytes, // object size in bytes if unknown at compile time; invalid otherwise |