Index: src/compiler/code-stub-assembler.h |
diff --git a/src/compiler/code-stub-assembler.h b/src/compiler/code-stub-assembler.h |
index 48539d8ac5840f0abb5765b1d168e5366cae6741..6f7a0706d51485a2513509863b0469cdf1d6fa08 100644 |
--- a/src/compiler/code-stub-assembler.h |
+++ b/src/compiler/code-stub-assembler.h |
@@ -142,6 +142,8 @@ class CodeStubAssembler { |
Node* ExternalConstant(ExternalReference address); |
Node* Float64Constant(double value); |
Node* HeapNumberMapConstant(); |
+ Node* NullConstant(); |
+ Node* UndefinedConstant(); |
Node* Parameter(int value); |
void Return(Node* value); |
@@ -262,9 +264,11 @@ class CodeStubAssembler { |
Node* WordIsSmi(Node* a); |
// Load an object pointer from a buffer that isn't in the heap. |
- Node* LoadBufferObject(Node* buffer, int offset); |
+ Node* LoadBufferObject(Node* buffer, int offset, |
+ MachineType rep = MachineType::AnyTagged()); |
// Load a field from an object on the heap. |
- Node* LoadObjectField(Node* object, int offset); |
+ Node* LoadObjectField(Node* object, int offset, |
+ MachineType rep = MachineType::AnyTagged()); |
// Load the floating point value of a HeapNumber. |
Node* LoadHeapNumberValue(Node* object); |
// Load the instance type of a Map. |
@@ -326,6 +330,10 @@ class CodeStubAssembler { |
private: |
friend class CodeStubAssemblerTester; |
+ CodeStubAssembler(Isolate* isolate, Zone* zone, |
+ CallDescriptor* call_descriptor, Code::Flags flags, |
+ const char* name); |
+ |
Node* CallN(CallDescriptor* descriptor, Node* code_target, Node** args); |
Node* TailCallN(CallDescriptor* descriptor, Node* code_target, Node** args); |