Index: src/parsing/json-parser.h |
diff --git a/src/parsing/json-parser.h b/src/parsing/json-parser.h |
index e23c73383eb38cc4708489228081e9d672ea30a0..096e18801cabf4978886ee10683391ced7f6d3ad 100644 |
--- a/src/parsing/json-parser.h |
+++ b/src/parsing/json-parser.h |
@@ -416,7 +416,7 @@ Handle<Object> JsonParser<seq_one_byte>::ParseJsonObject() { |
!target->instance_descriptors() |
->GetFieldType(descriptor) |
->NowContains(value)) { |
- Handle<HeapType> value_type( |
+ Handle<FieldType> value_type( |
value->OptimalType(isolate(), expected_representation)); |
Map::GeneralizeFieldType(target, descriptor, |
expected_representation, value_type); |