Index: src/compiler/code-assembler.h |
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h |
index 787d16b449b96ff18f07004f8934b36024cf44dd..ab04e7e58e3fb172a287028226745976962e8e73 100644 |
--- a/src/compiler/code-assembler.h |
+++ b/src/compiler/code-assembler.h |
@@ -190,7 +190,8 @@ class CodeAssembler { |
// =========================================================================== |
// Constants. |
- Node* Int32Constant(int value); |
+ Node* Int32Constant(int32_t value); |
+ Node* Int64Constant(int64_t value); |
Node* IntPtrConstant(intptr_t value); |
Node* NumberConstant(double value); |
Node* SmiConstant(Smi* value); |
@@ -200,6 +201,10 @@ class CodeAssembler { |
Node* Float64Constant(double value); |
Node* NaNConstant(); |
+ bool ToInt32Constant(Node* node, int32_t& out_value); |
+ bool ToInt64Constant(Node* node, int64_t& out_value); |
+ bool ToIntPtrConstant(Node* node, intptr_t& out_value); |
+ |
Node* Parameter(int value); |
void Return(Node* value); |