Coverage for /Syzygy/assm/assembler.h

CoverageLines executed / instrumented / missingexe / inst / missLanguageGroup
100.0%220.C++source

Line-by-line coverage:

   1    :  // Copyright 2012 Google Inc. All Rights Reserved.
   2    :  //
   3    :  // Licensed under the Apache License, Version 2.0 (the "License");
   4    :  // you may not use this file except in compliance with the License.
   5    :  // You may obtain a copy of the License at
   6    :  //
   7    :  //     http://www.apache.org/licenses/LICENSE-2.0
   8    :  //
   9    :  // Unless required by applicable law or agreed to in writing, software
  10    :  // distributed under the License is distributed on an "AS IS" BASIS,
  11    :  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12    :  // See the License for the specific language governing permissions and
  13    :  // limitations under the License.
  14    :  //
  15    :  // This file declares implementation classes to generate assembly code.
  16    :  // The API to the assembler is intentionally very close to the API exposed
  17    :  // by the V8 assembler (see src/ia32/assembler-ia32.* in V8 repository).
  18    :  
  19    :  #ifndef SYZYGY_ASSM_ASSEMBLER_H_
  20    :  #define SYZYGY_ASSM_ASSEMBLER_H_
  21    :  
  22    :  #include "syzygy/assm/assembler_base.h"
  23    :  #include "syzygy/assm/cond.h"
  24    :  #include "syzygy/assm/operand_base.h"
  25    :  #include "syzygy/assm/register.h"
  26    :  #include "syzygy/assm/value_base.h"
  27    :  
  28    :  namespace assm {
  29    :  
  30    :  class AssemblerImpl : public AssemblerBase<const void*> {
  31    :   public:
  32    :    typedef AssemblerBase<const void*> Super;
  33  E :    AssemblerImpl(uint32 location, InstructionSerializer* serializer)
  34    :        : Super(location, serializer) {
  35  E :    }
  36    :  
  37    :    // Expose control flow instructions as public.
  38    :    using Super::jmp;
  39    :    using Super::j;
  40    :    using Super::jecxz;
  41    :  };
  42    :  
  43    :  }  // namespace assm
  44    :  
  45    :  #endif  // SYZYGY_ASSM_ASSEMBLER_H_

Coverage information generated Thu Jan 14 17:40:38 2016.