Commit 5ddac0aa authored by Urvang Joshi's avatar Urvang Joshi
Browse files

RTCD defs: Remove empty specialize statements once and for all.

A similar cleanup happened before, but the empty statements have since
reappeared. I added a check in 'specialize' subroutine to die whenever
such an empty specialize call is found, so that config+make would fail.

Change-Id: I300ca0f0b077c0aeca8096d6460d8fb1c364d9b9
parent 404b2e87
This diff is collapsed.
......@@ -34,6 +34,5 @@ if (aom_config("CONFIG_AV1") eq "yes") {
specialize qw/aom_extend_frame_inner_borders dspr2/;
add_proto qw/void aom_extend_frame_borders_y/, "struct yv12_buffer_config *ybf";
specialize qw/aom_extend_frame_borders_y/;
This diff is collapsed.
......@@ -65,6 +65,10 @@ sub aom_config($) {
sub specialize {
if (@_ <= 1) {
die "'specialize' must be called with a function name and at least one ",
"architecture ('C' is implied): \n@_\n";
my $fn=$_[0];
foreach my $opt (@_) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment