Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 2a1ddf05883d40803ae7e4c1d354f77d4d186ed5..304cb853f64d45243728e59e9b7af73410e0ca02 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -169,6 +169,18 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
void Assert(const NodeGenerator& condition_body, const char* string = nullptr, |
const char* file = nullptr, int line = 0); |
+ Node* Select(Node* condition, const NodeGenerator& true_body, |
+ const NodeGenerator& false_body, MachineRepresentation rep); |
+ |
+ Node* SelectConstant(Node* condition, Node* true_value, Node* false_value, |
+ MachineRepresentation rep); |
+ |
+ Node* SelectInt32Constant(Node* condition, int true_value, int false_value); |
+ Node* SelectIntPtrConstant(Node* condition, int true_value, int false_value); |
+ Node* SelectBooleanConstant(Node* condition); |
+ Node* SelectTaggedConstant(Node* condition, Node* true_value, |
+ Node* false_value); |
+ |
// Check a value for smi-ness |
Node* TaggedIsSmi(Node* a); |
Node* TaggedIsNotSmi(Node* a); |