Fixed documentation of getLabelData() and getLabelDataById().

This commit is contained in:
kobalicekp
2014-02-02 23:28:20 +01:00
parent 58cc05343c
commit ee025897f0

View File

@@ -286,14 +286,14 @@ struct BaseAssembler : public CodeGen {
//! @internal //! @internal
//! //!
//! @brief Get @ref VarData by @a var. //! @brief Get @ref LabelData by @a label.
ASMJIT_INLINE LabelData* getLabelData(const Label& label) const { ASMJIT_INLINE LabelData* getLabelData(const Label& label) const {
return getLabelDataById(label.getId()); return getLabelDataById(label.getId());
} }
//! @internal //! @internal
//! //!
//! @brief Get @ref VarData by @a id. //! @brief Get @ref LabelData by @a id.
ASMJIT_INLINE LabelData* getLabelDataById(uint32_t id) const { ASMJIT_INLINE LabelData* getLabelDataById(uint32_t id) const {
ASMJIT_ASSERT(id != kInvalidValue); ASMJIT_ASSERT(id != kInvalidValue);
ASMJIT_ASSERT(id < _labels.getLength()); ASMJIT_ASSERT(id < _labels.getLength());