Index: src/compiler/raw-machine-assembler.cc |
diff --git a/src/compiler/raw-machine-assembler.cc b/src/compiler/raw-machine-assembler.cc |
index b93ec66338a228b919d25b40d0f140be7d47bfa4..3c7bfa73cdc378400aab084653e84cf46243ce41 100644 |
--- a/src/compiler/raw-machine-assembler.cc |
+++ b/src/compiler/raw-machine-assembler.cc |
@@ -11,11 +11,11 @@ namespace v8 { |
namespace internal { |
namespace compiler { |
-RawMachineAssembler::RawMachineAssembler(Graph* graph, |
+RawMachineAssembler::RawMachineAssembler(Isolate* isolate, Graph* graph, |
MachineSignature* machine_sig, |
MachineType word, |
MachineOperatorBuilder::Flags flags) |
- : GraphBuilder(graph), |
+ : GraphBuilder(isolate, graph), |
schedule_(new (zone()) Schedule(zone())), |
machine_(zone(), word, flags), |
common_(zone()), |
@@ -87,8 +87,8 @@ Node* RawMachineAssembler::CallFunctionStub0(Node* function, Node* receiver, |
CallFunctionFlags flags) { |
Callable callable = CodeFactory::CallFunction(isolate(), 0, flags); |
CallDescriptor* desc = Linkage::GetStubCallDescriptor( |
- callable.descriptor(), 1, CallDescriptor::kNeedsFrameState, |
- Operator::kNoProperties, zone()); |
+ isolate(), zone(), callable.descriptor(), 1, |
+ CallDescriptor::kNeedsFrameState, Operator::kNoProperties); |
Node* stub_code = HeapConstant(callable.code()); |
Node* call = graph()->NewNode(common()->Call(desc), stub_code, function, |
receiver, context, frame_state); |
@@ -100,7 +100,7 @@ Node* RawMachineAssembler::CallFunctionStub0(Node* function, Node* receiver, |
Node* RawMachineAssembler::CallJS0(Node* function, Node* receiver, |
Node* context, Node* frame_state) { |
CallDescriptor* descriptor = |
- Linkage::GetJSCallDescriptor(1, zone(), CallDescriptor::kNeedsFrameState); |
+ Linkage::GetJSCallDescriptor(zone(), 1, CallDescriptor::kNeedsFrameState); |
Node* call = graph()->NewNode(common()->Call(descriptor), function, receiver, |
context, frame_state); |
schedule()->AddNode(CurrentBlock(), call); |
@@ -112,7 +112,7 @@ Node* RawMachineAssembler::CallRuntime1(Runtime::FunctionId function, |
Node* arg0, Node* context, |
Node* frame_state) { |
CallDescriptor* descriptor = Linkage::GetRuntimeCallDescriptor( |
- function, 1, Operator::kNoProperties, zone()); |
+ zone(), function, 1, Operator::kNoProperties); |
Node* centry = HeapConstant(CEntryStub(isolate(), 1).GetCode()); |
Node* ref = NewNode( |