Other tokenizer states and the serializer are potential follow-ups. The code movement from nsHtml5Tokenizer.cpp to nsHtml5Tokeniner.h is for enabling the eventual non-unified build of nsHtml5TokenizerSIMD.cpp once the LLVM bug has been fixed. Differential Revision: https://phabricator.services.mozilla.com/D227317
33 lines
1.5 KiB
C++
33 lines
1.5 KiB
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsHtml5Tokenizer.h"
|
|
|
|
int32_t nsHtml5Tokenizer::StateLoopFastestALU(int32_t state, char16_t c,
|
|
int32_t pos, char16_t* buf,
|
|
bool reconsume,
|
|
int32_t returnState,
|
|
int32_t endPos) {
|
|
MOZ_RELEASE_ASSERT(false, "Inconsistent build config");
|
|
return 0;
|
|
}
|
|
|
|
int32_t nsHtml5Tokenizer::StateLoopLineColALU(int32_t state, char16_t c,
|
|
int32_t pos, char16_t* buf,
|
|
bool reconsume,
|
|
int32_t returnState,
|
|
int32_t endPos) {
|
|
MOZ_RELEASE_ASSERT(false, "Inconsistent build config");
|
|
return 0;
|
|
}
|
|
|
|
int32_t nsHtml5Tokenizer::StateLoopViewSourceALU(int32_t state, char16_t c,
|
|
int32_t pos, char16_t* buf,
|
|
bool reconsume,
|
|
int32_t returnState,
|
|
int32_t endPos) {
|
|
MOZ_RELEASE_ASSERT(false, "Inconsistent build config");
|
|
return 0;
|
|
}
|