Index: src/a64/assembler-a64.cc |
diff --git a/src/a64/assembler-a64.cc b/src/a64/assembler-a64.cc |
index 5843c2ef965677c40019e60726923d86a18a2e28..51542b27da0d1cdc5230cc5a6d3f8c149644cdfe 100644 |
--- a/src/a64/assembler-a64.cc |
+++ b/src/a64/assembler-a64.cc |
@@ -2548,7 +2548,7 @@ void Assembler::CheckConstPool(bool force_emit, bool require_jump) { |
// Emit veneers for branches that would go out of range during emission of the |
// constant pool. |
- CheckVeneerPool(require_jump, kVeneerDistanceMargin - pool_size); |
+ CheckVeneerPool(require_jump, kVeneerDistanceMargin + pool_size); |
Label size_check; |
bind(&size_check); |