summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Bytecode/BasicBlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Bytecode/BasicBlock.cpp')
-rw-r--r--Userland/Libraries/LibJS/Bytecode/BasicBlock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/BasicBlock.cpp b/Userland/Libraries/LibJS/Bytecode/BasicBlock.cpp
index 0182d4412f..8bac7aa06a 100644
--- a/Userland/Libraries/LibJS/Bytecode/BasicBlock.cpp
+++ b/Userland/Libraries/LibJS/Bytecode/BasicBlock.cpp
@@ -66,6 +66,7 @@ void BasicBlock::grow(size_t additional_size)
void InstructionStreamIterator::operator++()
{
+ VERIFY(!at_end());
m_offset += dereference().length();
}