// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include #include "courgette/assembly_program.h" #include "courgette/encoded_program.h" #include "courgette/instruction_utils.h" namespace courgette { namespace { // An instruction receptor that adds each received abs32/rel32 Label* to the // matching VECTOR member variable. Template VECTOR allows code reuse for // counting (CountingVector) and storage (std::vector). template