Lines Matching refs:ErrorCode
129 BytecodeEmitter::ErrorCode BytecodeEmitter::Build(std::vector<uint8_t> *output) in Build()
131 ErrorCode res = CheckLabels(); in Build()
132 if (res != ErrorCode::SUCCESS) { in Build()
136 if (res != ErrorCode::SUCCESS) { in Build()
140 if (res != ErrorCode::SUCCESS) { in Build()
144 return ErrorCode::SUCCESS; in Build()
156 BytecodeEmitter::ErrorCode BytecodeEmitter::ReserveSpaceForOffsets() in ReserveSpaceForOffsets()
175 if (res != ErrorCode::SUCCESS) { in ReserveSpaceForOffsets()
188 return ErrorCode::SUCCESS; in ReserveSpaceForOffsets()
191 BytecodeEmitter::ErrorCode BytecodeEmitter::DoReserveSpaceForOffset(const BytecodeInstruction &insn… in DoReserveSpaceForOffset()
209 return ErrorCode::INTERNAL_ERROR; in DoReserveSpaceForOffset()
220 return ErrorCode::SUCCESS; in DoReserveSpaceForOffset()
223 BytecodeEmitter::ErrorCode BytecodeEmitter::UpdateBranches() in UpdateBranches()
231 return ErrorCode::SUCCESS; in UpdateBranches()
277 BytecodeEmitter::ErrorCode BytecodeEmitter::CheckLabels() in CheckLabels()
282 return ErrorCode::UNBOUND_LABELS; in CheckLabels()
285 return ErrorCode::SUCCESS; in CheckLabels()