// Copyright 2017 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. #ifndef V8_CODEGEN_LABEL_H_ #define V8_CODEGEN_LABEL_H_ #include "src/base/macros.h" namespace v8 { namespace internal { // ----------------------------------------------------------------------------- // Labels represent pc locations; they are typically jump or call targets. // After declaration, a label can be freely used to denote known or (yet) // unknown pc location. Assembler::bind() is used to bind a label to the // current pc. A label can be bound only once. class Label { … }; } // namespace internal } // namespace v8 #endif // V8_CODEGEN_LABEL_H_