| Index: src/trusted/validator_ragel/unreviewed/gen-dfa.cc
|
| ===================================================================
|
| --- src/trusted/validator_ragel/unreviewed/gen-dfa.cc (revision 8157)
|
| +++ src/trusted/validator_ragel/unreviewed/gen-dfa.cc (working copy)
|
| @@ -189,7 +189,7 @@
|
|
|
| class Instruction {
|
| public:
|
| - static bool check_flag_valid(const std::string &flag) {
|
| + static void check_flag_valid(const std::string &flag) {
|
| if (all_instruction_flags.find(flag) == all_instruction_flags.end()) {
|
| fprintf(stderr, "%s: unknown flag: '%s'\n",
|
| short_program_name, flag.c_str());
|
| @@ -1189,7 +1189,7 @@
|
| explicit MarkedInstruction(Instruction instruction_) :
|
| Instruction(instruction_),
|
| instruction_class(get_instruction_class(instruction_)),
|
| - opcode_in_modrm(false), opcode_in_imm(false), rex { } {
|
| + rex { }, opcode_in_modrm(false), opcode_in_imm(false) {
|
| if (has_flag("branch_hint")) {
|
| optional_prefixes.insert("branch_hint");
|
| }
|
| @@ -1548,7 +1548,7 @@
|
| }
|
| bool modrm_memory = false;
|
| bool modrm_register = false;
|
| - char operand_source;
|
| + char operand_source = ' ';
|
| for (auto operand_it = operands.begin();
|
| operand_it != operands.end(); ++operand_it) {
|
| auto &operand = *operand_it;
|
|
|