summaryrefslogtreecommitdiff
path: root/deps/v8/src/snapshot/serializer-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/snapshot/serializer-inl.h')
-rw-r--r--deps/v8/src/snapshot/serializer-inl.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/deps/v8/src/snapshot/serializer-inl.h b/deps/v8/src/snapshot/serializer-inl.h
index 681d90d60b..3767f192e5 100644
--- a/deps/v8/src/snapshot/serializer-inl.h
+++ b/deps/v8/src/snapshot/serializer-inl.h
@@ -14,13 +14,15 @@ namespace internal {
bool Serializer::IsNotMappedSymbol(HeapObject obj) const {
Object not_mapped_symbol = ReadOnlyRoots(isolate()).not_mapped_symbol();
if (V8_EXTERNAL_CODE_SPACE_BOOL) {
- // It's possible that a Code object might have the same compressed value
- // as the not_mapped_symbol, so we must compare full pointers.
+ // It's possible that a InstructionStream object might have the same
+ // compressed value as the not_mapped_symbol, so we must compare full
+ // pointers.
// TODO(v8:11880): Avoid the need for this special case by never putting
- // Code references anywhere except the CodeDadaContainer objects.
- // In particular, the Code objects should not appear in serializer's
- // identity map. This should be possible once the IsolateData::builtins
- // table is migrated to contain CodeT references.
+ // InstructionStream references anywhere except the CodeDadaContainer
+ // objects. In particular, the InstructionStream objects should not appear
+ // in serializer's identity map. This should be possible once the
+ // IsolateData::builtins table is migrated to contain Code
+ // references.
return obj.ptr() == not_mapped_symbol.ptr();
}
return obj == not_mapped_symbol;