Home
last modified time | relevance | path

Searched refs:expected_representation (Results 1 - 2 of 2) sorted by relevance

/third_party/node/deps/v8/src/json/
H A Djson-parser.cc518 Representation expected_representation = details.representation(); in BuildJsonObject() local
520 if (!value->FitsRepresentation(expected_representation)) { in BuildJsonObject()
522 representation = representation.generalize(expected_representation); in BuildJsonObject()
523 if (!expected_representation.CanBeInPlaceChangedTo(representation)) { in BuildJsonObject()
532 } else if (expected_representation.IsHeapObject() && in BuildJsonObject()
537 value->OptimalType(isolate(), expected_representation); in BuildJsonObject()
539 details.constness(), expected_representation, in BuildJsonObject() local
541 } else if (expected_representation.IsDouble() && value->IsSmi()) { in BuildJsonObject()
/third_party/node/deps/v8/src/objects/
H A Dvalue-serializer.cc2338 Representation expected_representation = details.representation(); in ReadJSObjectProperties() local
2339 if (value->FitsRepresentation(expected_representation)) { in ReadJSObjectProperties()
2340 if (expected_representation.IsHeapObject() && in ReadJSObjectProperties()
2345 value->OptimalType(isolate_, expected_representation); in ReadJSObjectProperties()
2348 expected_representation, value_type); in ReadJSObjectProperties()

Completed in 6 milliseconds