diff --git a/src/arm64/decoder-arm64.cc b/src/arm64/decoder-arm64.cc index cf7dc34c58..5cca85ea28 100644 --- a/src/arm64/decoder-arm64.cc +++ b/src/arm64/decoder-arm64.cc @@ -17,13 +17,13 @@ namespace internal { void DispatchingDecoderVisitor::AppendVisitor(DecoderVisitor* new_visitor) { visitors_.remove(new_visitor); - visitors_.push_front(new_visitor); + visitors_.push_back(new_visitor); } void DispatchingDecoderVisitor::PrependVisitor(DecoderVisitor* new_visitor) { visitors_.remove(new_visitor); - visitors_.push_back(new_visitor); + visitors_.push_front(new_visitor); }