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

Unified Diff: src/assembler.h

Issue 2869683004: [arm] Share constant pool entries in snapshot. (Closed)
Patch Set: Update tools/v8heapconst.py 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 65976676b4c0f9d4d291dc65c24996e262a54aae..1c190b03bf8629c6d38a9ac6da4191b3581dfb1a 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -1167,6 +1167,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