| Index: src/compiler/code-generator-impl.h
|
| diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h
|
| index 8bf3a9ea4e3bbc9a1801f284fa935b12b0eb8f47..bdedbecf26cd5bd20251b1725c94adf557fa95d9 100644
|
| --- a/src/compiler/code-generator-impl.h
|
| +++ b/src/compiler/code-generator-impl.h
|
| @@ -67,6 +67,14 @@ class InstructionOperandConverter {
|
| return static_cast<int16_t>(InputInt32(index));
|
| }
|
|
|
| + uint8_t InputInt3(size_t index) {
|
| + return static_cast<uint8_t>(InputInt32(index) & 0x7);
|
| + }
|
| +
|
| + uint8_t InputInt4(size_t index) {
|
| + return static_cast<uint8_t>(InputInt32(index) & 0xF);
|
| + }
|
| +
|
| uint8_t InputInt5(size_t index) {
|
| return static_cast<uint8_t>(InputInt32(index) & 0x1F);
|
| }
|
|
|