Home
last modified time | relevance | path

Searched refs:array_depth (Results 1 – 3 of 3) sorted by relevance

/art/compiler/dex/
Dtype_inference.cc32 inline TypeInference::Type TypeInference::Type::ArrayType(uint32_t array_depth, Type nested_type) { in ArrayType() argument
33 DCHECK_NE(array_depth, 0u); in ArrayType()
34 return Type(kFlagNarrow | kFlagRef | kFlagLowWord | (array_depth << kBitArrayDepthStart) | in ArrayType()
69 size_t array_depth = 0u; in DexType() local
71 ++array_depth; in DexType()
74 if (UNLIKELY(array_depth > kMaxArrayDepth)) { in DexType()
75 LOG(WARNING) << "Array depth exceeds " << kMaxArrayDepth << ": " << array_depth in DexType()
77 array_depth = kMaxArrayDepth; in DexType()
80 return ArrayType(array_depth, shorty_result); in DexType()
Dtype_inference_test.cc541 uint32_t array_depth; member
547 uint32_t array_depth = expectation.array_depth; in ExpectSRegType() local
574 ASSERT_EQ(array_depth, type.ArrayDepth()) << s_reg; in ExpectSRegType()
575 if (array_depth != 0u) { in ExpectSRegType()
586 SRegExpectation high_expectation = { array_depth, flags | kExpectHigh }; in ExpectSRegType()
599 void ExpectArrayDepth(int s_reg, uint32_t array_depth) { in ExpectArrayDepth() argument
600 EXPECT_EQ(array_depth, type_inference_->sregs_[s_reg].ArrayDepth()); in ExpectArrayDepth()
Dtype_inference.h114 static Type ArrayType(uint32_t array_depth, Type nested_type);