Index: src/compiler/code-stub-assembler.h |
diff --git a/src/compiler/code-stub-assembler.h b/src/compiler/code-stub-assembler.h |
index 43014196b736efdc11efb1d45a1b5dfd53b98830..288f53a18def9af7ac3579ec725ab1b64976d995 100644 |
--- a/src/compiler/code-stub-assembler.h |
+++ b/src/compiler/code-stub-assembler.h |
@@ -70,6 +70,7 @@ class Schedule; |
V(IntPtrSub) \ |
V(IntPtrSubWithOverflow) \ |
V(Int32Add) \ |
+ V(Int32AddWithOverflow) \ |
V(Int32Sub) \ |
V(Int32Mul) \ |
V(WordOr) \ |
@@ -294,6 +295,8 @@ class CodeStubAssembler { |
Node* LoadHeapNumberValue(Node* object); |
// Store the floating point value of a HeapNumber. |
Node* StoreHeapNumberValue(Node* object, Node* value); |
+ // Truncate the floating point value of a HeapNumber to an Int32. |
+ Node* TruncateHeapNumberValueToInt32(Node* object); |
// Load the bit field of a Map. |
Node* LoadMapBitField(Node* map); |
// Load the instance type of a Map. |
@@ -329,6 +332,9 @@ class CodeStubAssembler { |
Node* BitFieldDecode(Node* word32, uint32_t shift, uint32_t mask); |
+ // Conversions. |
+ Node* ChangeInt32ToTagged(Node* value); |
+ |
// Branching helpers. |
// TODO(danno): Can we be more cleverish wrt. edge-split? |
void BranchIf(Node* condition, Label* if_true, Label* if_false); |