Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 2f0c542bc2ca98907a1ea2e72abd3436d6fdfe3b..89b971070ebdfeee26853233219fb6b0f0942545 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -467,7 +467,7 @@ void Assembler::bind_to(Label* L, int pos) { |
static_cast<int>(*reinterpret_cast<int8_t*>(addr_at(fixup_pos))); |
ASSERT(offset_to_next <= 0); |
int disp = pos - (fixup_pos + sizeof(int8_t)); |
- ASSERT(is_int8(disp)); |
+ CHECK(is_int8(disp)); |
set_byte_at(fixup_pos, disp); |
if (offset_to_next < 0) { |
L->link_to(fixup_pos + offset_to_next, Label::kNear); |