Skip to content

Commit 790f9f6

Browse files
author
Daniel Kroening
committed
hide internal flatten_byte_update interface
1 parent 08f9cce commit 790f9f6

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

src/solvers/flattening/flatten_byte_operators.cpp

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,25 @@ exprt flatten_byte_update(
438438

439439
/*******************************************************************\
440440
441+
Function: flatten_byte_update
442+
443+
Inputs:
444+
445+
Outputs:
446+
447+
Purpose:
448+
449+
\*******************************************************************/
450+
451+
exprt flatten_byte_update(
452+
const byte_update_exprt &src,
453+
const namespacet &ns)
454+
{
455+
return flatten_byte_update(src, ns, false);
456+
}
457+
458+
/*******************************************************************\
459+
441460
Function: has_byte_operators
442461
443462
Inputs:
@@ -474,7 +493,9 @@ Function: flatten_byte_operators
474493
475494
\*******************************************************************/
476495

477-
exprt flatten_byte_operators(const exprt &src, const namespacet &ns)
496+
exprt flatten_byte_operators(
497+
const exprt &src,
498+
const namespacet &ns)
478499
{
479500
exprt tmp=src;
480501

src/solvers/flattening/flatten_byte_operators.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ exprt flatten_byte_extract(
2020

2121
exprt flatten_byte_update(
2222
const byte_update_exprt &src,
23-
const namespacet &ns,
24-
bool negative_offset=false);
23+
const namespacet &ns);
2524

26-
exprt flatten_byte_operators(const exprt &src, const namespacet &ns);
25+
exprt flatten_byte_operators(
26+
const exprt &src,
27+
const namespacet &ns);
2728

2829
bool has_byte_operator(const exprt &src);
2930

0 commit comments

Comments
 (0)