Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index e41734babdbe008d5eead38d53a7f5390fd6be43..5ec1dcb77cc917874d1d51e7fe6510a63966de92 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -115,8 +115,8 @@ static int DecodeIt(Isolate* isolate, |
const V8NameConverter& converter, |
byte* begin, |
byte* end) { |
- NoHandleAllocation ha(isolate); |
- AssertNoAllocation no_alloc; |
+ SealHandleScope shs(isolate); |
+ DisallowHeapAllocation no_alloc; |
ExternalReferenceEncoder ref_encoder; |
Heap* heap = HEAP; |