aboutsummaryrefslogtreecommitdiff
path: root/gcc/range-op-float.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2023-06-10 16:35:18 -0400
committerAndrew MacLeod <amacleod@redhat.com>2023-06-12 10:48:42 -0400
commit110c1f8d3070919b26646b87e13b9737ff88d606 (patch)
treedba5349814c309c7ab99bc2401ac622293e8d3ac /gcc/range-op-float.cc
parent73cbf402d3df24317ae299f52256ddfa93cca402 (diff)
downloadgcc-110c1f8d3070919b26646b87e13b9737ff88d606.zip
gcc-110c1f8d3070919b26646b87e13b9737ff88d606.tar.gz
gcc-110c1f8d3070919b26646b87e13b9737ff88d606.tar.bz2
Add a hybrid MAX_EXPR operator for integer and pointer.
This adds an operator to the unified table for MAX_EXPR which will select either the pointer or integer version based on the type passed to the method. This is for use until we have a seperate PRANGE class. THIs also removes the pointer table which is no longer needed. * range-op-mixed.h (operator_max): Remove final. * range-op-ptr.cc (pointer_table::pointer_table): Remove MAX_EXPR. (pointer_table::pointer_table): Remove. (class hybrid_max_operator): New. (range_op_table::initialize_pointer_ops): Add hybrid_max_operator. * range-op.cc (pointer_tree_table): Remove. (unified_table::unified_table): Comment out MAX_EXPR. (get_op_handler): Remove check of pointer table. * range-op.h (class pointer_table): Remove.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions