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

Unified Diff: src/assembler.h

Issue 2869683004: [arm] Share constant pool entries in snapshot. (Closed)
Patch Set: Created 3 years, 7 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
Index: src/assembler.h
diff --git a/src/assembler.h b/src/assembler.h
index 7be1394dbd431b58cc5f29f34bb72a2ae9a3df92..0b9868afcb05d44b6f7ea27fe9fa556e6361a7d5 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -1166,6 +1166,7 @@ class ConstantPoolEntry {
return merged_index_;
}
void set_merged_index(int index) {
+ DCHECK(sharing_ok());
merged_index_ = index;
DCHECK(is_merged());
}

Powered by Google App Engine
This is Rietveld 408576698