12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// Do nothing.
RegisterBuiltinFunc< Intrinsic< Value ( Value ) > >( e, e.extLowerType(),
[]( const Context& c, const Value& v )
{
return v;
} );
// Default implementation of LowerTypeForVerification():
// Do nothing.
RegisterBuiltinFunc< Intrinsic< Value ( Value ) > >( e, e.extLowerTypeForVerification(),
[]( const Context& c, const Value& v )
{
return v;
} );
// Default implementation of LowerConstantForVerification():
// Do nothing.
RegisterBuiltinFunc< Intrinsic< Value ( Value ) > >( e, e.extLowerConstantForVerification(),
[]( const Context& c, const Value& v )
{
return v;
} );
// Default implementation of LowerConstantForRuntime():
// Do nothing.
RegisterBuiltinFunc< Intrinsic< Value ( Value ) > >( e, e.extLowerConstantForRuntime(),
[]( const Context& c, const Value& v )
{
return v;
} );
}
}
|
|
|
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Do nothing.
RegisterBuiltinFunc< Intrinsic< Value ( Value ) > >( e, e.extLowerType(),
[]( const Context& c, const Value& v )
{
return v;
} );
// Default implementation of LowerValue():
// Do nothing.
RegisterBuiltinFunc< Intrinsic< Value ( Value ) > >( e, e.extLowerValue(),
[]( const Context& c, const Value& v )
{
return v;
} );
}
}
|