MCPcopy Create free account
hub / github.com/avast/retdec / addAlternative

Method addAlternative

src/bin2llvmir/optimizations/decoder/decoder_ranges.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void RangesToDecode::addAlternative(common::Address s, common::Address e)
40{
41 s = align(s, archInsnAlign);
42 if (e > s)
43 {
44 _alternativeRanges.insert(s, e);
45 }
46}
47
48void RangesToDecode::addAlternative(const common::AddressRange& r)
49{

Callers 1

Calls 2

alignFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected