MCPcopy Create free account
hub / github.com/apache/impala / TEST_F

Function TEST_F

be/src/codegen/llvm-codegen-test.cc:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53TEST_F(CodegenFnPtrTest, StoreVoidPtrAndLoad) {
54 void* fn_ptr = reinterpret_cast<void*>(int_identity);
55 codegen_fn_ptr.CodegenFnPtrBase::store(fn_ptr);
56 FnPtr loaded_fn_ptr = codegen_fn_ptr.load();
57 ASSERT_TRUE(loaded_fn_ptr == int_identity);
58}
59
60TEST_F(CodegenFnPtrTest, StoreNonVoidPtrAndLoad) {
61 codegen_fn_ptr.store(int_identity);

Callers

nothing calls this directly

Calls 15

CodegenInnerLoopFunction · 0.85
CodegenStringTestFunction · 0.85
NamedVariableClass · 0.85
MakeScopeExitTriggerFunction · 0.85
HashFunction · 0.85
CloneFunctionMethod · 0.80
ReplaceCallSitesMethod · 0.80
RemoveCallSitesMethod · 0.80
void_typeMethod · 0.80
AddArgumentMethod · 0.80
ptr_typeMethod · 0.80
i32_typeMethod · 0.80

Tested by

no test coverage detected