���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/deps/v8/src/codegen/arm64/ |
// Copyright 2013 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #if V8_TARGET_ARCH_ARM64 #include "src/codegen/arm64/decoder-arm64.h" #include "src/common/globals.h" #include "src/utils/utils.h" namespace v8 { namespace internal { void DispatchingDecoderVisitor::AppendVisitor(DecoderVisitor* new_visitor) { visitors_.remove(new_visitor); visitors_.push_back(new_visitor); } void DispatchingDecoderVisitor::PrependVisitor(DecoderVisitor* new_visitor) { visitors_.remove(new_visitor); visitors_.push_front(new_visitor); } void DispatchingDecoderVisitor::InsertVisitorBefore( DecoderVisitor* new_visitor, DecoderVisitor* registered_visitor) { visitors_.remove(new_visitor); std::list<DecoderVisitor*>::iterator it; for (it = visitors_.begin(); it != visitors_.end(); it++) { if (*it == registered_visitor) { visitors_.insert(it, new_visitor); return; } } // We reached the end of the list. The last element must be // registered_visitor. DCHECK(*it == registered_visitor); visitors_.insert(it, new_visitor); } void DispatchingDecoderVisitor::InsertVisitorAfter( DecoderVisitor* new_visitor, DecoderVisitor* registered_visitor) { visitors_.remove(new_visitor); std::list<DecoderVisitor*>::iterator it; for (it = visitors_.begin(); it != visitors_.end(); it++) { if (*it == registered_visitor) { it++; visitors_.insert(it, new_visitor); return; } } // We reached the end of the list. The last element must be // registered_visitor. DCHECK(*it == registered_visitor); visitors_.push_back(new_visitor); } void DispatchingDecoderVisitor::RemoveVisitor(DecoderVisitor* visitor) { visitors_.remove(visitor); } #define DEFINE_VISITOR_CALLERS(A) \ void DispatchingDecoderVisitor::Visit##A(Instruction* instr) { \ if (!(instr->Mask(A##FMask) == A##Fixed)) { \ DCHECK(instr->Mask(A##FMask) == A##Fixed); \ } \ std::list<DecoderVisitor*>::iterator it; \ for (it = visitors_.begin(); it != visitors_.end(); it++) { \ (*it)->Visit##A(instr); \ } \ } VISITOR_LIST(DEFINE_VISITOR_CALLERS) #undef DEFINE_VISITOR_CALLERS } // namespace internal } // namespace v8 #endif // V8_TARGET_ARCH_ARM64