Index: src/compiler/code-generator-impl.h |
diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h |
index 7de32c5c9124120cf1441dc06353d7aecad1dad9..a374125ac9545e0a8c18c122f7d58d6ea0b8218d 100644 |
--- a/src/compiler/code-generator-impl.h |
+++ b/src/compiler/code-generator-impl.h |
@@ -43,6 +43,10 @@ class InstructionOperandConverter { |
return ToConstant(instr_->InputAt(index)).ToInt32(); |
} |
+ uint32_t InputUint32(size_t index) { |
+ return bit_cast<uint32_t>(ToConstant(instr_->InputAt(index)).ToInt32()); |
Benedikt Meurer
2016/04/20 04:06:28
Nit: return bit_cast<uint32_t>(InputInt32(index));
titzer
2016/04/20 09:02:02
Done.
|
+ } |
+ |
int64_t InputInt64(size_t index) { |
return ToConstant(instr_->InputAt(index)).ToInt64(); |
} |