Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1613)

Unified Diff: runtime/vm/assembler_x64.h

Issue 2912863006: Inline instance object hash code into object header on 64 bit. (Closed)
Patch Set: Add assembler tests and other feedback from Ryan Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_x64.h
diff --git a/runtime/vm/assembler_x64.h b/runtime/vm/assembler_x64.h
index 0c17551a8659516fe0c99ae2f9f18306fe7a904a..ad19e6dc6991a97b5120426a658c058419396e27 100644
--- a/runtime/vm/assembler_x64.h
+++ b/runtime/vm/assembler_x64.h
@@ -690,16 +690,8 @@ class Assembler : public ValueObject {
void lock();
void cmpxchgl(const Address& address, Register reg);
- void lock_cmpxchgl(const Address& address, Register reg) {
- lock();
- cmpxchgl(address, reg);
- }
void cmpxchgq(const Address& address, Register reg);
- void lock_cmpxchgq(const Address& address, Register reg) {
- lock();
- cmpxchgq(address, reg);
- }
void cpuid();
@@ -801,6 +793,11 @@ class Assembler : public ValueObject {
cmpxchgq(address, reg);
}
+ void LockCmpxchgl(const Address& address, Register reg) {
+ lock();
+ cmpxchgl(address, reg);
+ }
+
void PushRegisters(intptr_t cpu_register_set, intptr_t xmm_register_set);
void PopRegisters(intptr_t cpu_register_set, intptr_t xmm_register_set);
« no previous file with comments | « runtime/vm/assembler_mips.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698