Home | History | Annotate | Download | only in linker

Lines Matching refs:code

96 // Test that pointer to quick code is the same in
112 // Test the pointer to quick code is the same in origin method
120 const void* code = origin->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size);
121 // The origin method should have a pointer to quick code
122 ASSERT_NE(nullptr, code);
123 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code));
129 // the copied method should have pointer to the same quick code as the origin method
130 ASSERT_EQ(code, copied->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size));
132 // Test the origin method has pointer to quick code
143 code = origin->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size);
144 // the origin method should have a pointer to quick code
145 ASSERT_NE(nullptr, code);
146 ASSERT_FALSE(class_linker_->IsQuickToInterpreterBridge(code));
152 code = copied->GetEntryPointFromQuickCompiledCodePtrSize(pointer_size);
154 ASSERT_TRUE(class_linker_->IsQuickToInterpreterBridge(code));