Index: src/a64/assembler-a64.h |
diff --git a/src/a64/assembler-a64.h b/src/a64/assembler-a64.h |
index 31d7f17e071612e503c8fbfba88fdf27f1a5b018..47f9694e054c3b7ed5bef92205fa7f87e41b4a66 100644 |
--- a/src/a64/assembler-a64.h |
+++ b/src/a64/assembler-a64.h |
@@ -1808,10 +1808,13 @@ class Assembler : public AssemblerBase { |
// Emits veneers for branches that are approaching their maximum range. |
// If need_protection is true, the veneers are protected by a branch jumping |
// over the code. |
- void EmitVeneers(bool need_protection, int margin = kVeneerDistanceMargin); |
+ void EmitVeneers(bool force_emit, bool need_protection, |
+ int margin = kVeneerDistanceMargin); |
void EmitVeneersGuard() { EmitPoolGuard(); } |
// Checks whether veneers need to be emitted at this point. |
- void CheckVeneerPool(bool require_jump, int margin = kVeneerDistanceMargin); |
+ // If force_emit is set, a veneer is generated for *all* unresolved branches. |
+ void CheckVeneerPool(bool force_emit, bool require_jump, |
+ int margin = kVeneerDistanceMargin); |
class BlockPoolsScope { |