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

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") { ...@@ -34,6 +34,5 @@ if (aom_config("CONFIG_AV1") eq "yes") {
specialize qw/aom_extend_frame_inner_borders dspr2/; specialize qw/aom_extend_frame_inner_borders dspr2/;
add_proto qw/void aom_extend_frame_borders_y/, "struct yv12_buffer_config *ybf"; add_proto qw/void aom_extend_frame_borders_y/, "struct yv12_buffer_config *ybf";
specialize qw/aom_extend_frame_borders_y/;
} }
1; 1;
This diff is collapsed.
...@@ -65,6 +65,10 @@ sub aom_config($) { ...@@ -65,6 +65,10 @@ sub aom_config($) {
} }
sub specialize { 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]; my $fn=$_[0];
shift; shift;
foreach my $opt (@_) { foreach my $opt (@_) {
......
Markdown is supported
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