Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index bef001a2ad93cd6294d00eb39ebd0dd324d6197d..39c0fe690c8a9e27a031d5f831099189edb4c0d0 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -486,6 +486,9 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
// Convert any object to a Number. |
compiler::Node* ToNumber(compiler::Node* context, compiler::Node* input); |
+ // Convert any object to an Integer. |
+ compiler::Node* ToInteger(compiler::Node* context, compiler::Node* input); |
+ |
// Returns a node that contains a decoded (unsigned!) value of a bit |
// field |T| in |word32|. Returns result as an uint32 node. |
template <typename T> |