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

Unified Diff: src/a64/assembler-a64-inl.h

Issue 181873002: A64: Move veneer emission checking in the Assembler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove the force_emit parameter in CheckVeneerPool Created 6 years, 10 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 | « src/a64/assembler-a64.cc ('k') | src/a64/code-stubs-a64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/a64/assembler-a64-inl.h
diff --git a/src/a64/assembler-a64-inl.h b/src/a64/assembler-a64-inl.h
index e68dee073822f0c56e03b05c19ec44a35f305951..a925e551f5cbbff6fe3291b8572786cc6fe0ef95 100644
--- a/src/a64/assembler-a64-inl.h
+++ b/src/a64/assembler-a64-inl.h
@@ -1178,7 +1178,10 @@ inline void Assembler::CheckBuffer() {
if (buffer_space() < kGap) {
GrowBuffer();
}
- if (pc_offset() >= next_buffer_check_) {
+ if (pc_offset() >= next_veneer_pool_check_) {
+ CheckVeneerPool(true);
+ }
+ if (pc_offset() >= next_constant_pool_check_) {
CheckConstPool(false, true);
}
}
« no previous file with comments | « src/a64/assembler-a64.cc ('k') | src/a64/code-stubs-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698