Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 790f6879252c26bf37d002f3e7148b33bd4eb833..e080f57a209b04109f8f8477df08beb3e091b17a 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -251,8 +251,9 @@ Handle<Code> HydrogenCodeStub::GenerateRuntimeTailCall( |
const char* name = CodeStub::MajorName(MajorKey()); |
Zone zone(isolate()->allocator(), ZONE_NAME); |
CallInterfaceDescriptor interface_descriptor(GetCallInterfaceDescriptor()); |
- CodeStubAssembler assembler(isolate(), &zone, interface_descriptor, |
- GetCodeFlags(), name); |
+ compiler::CodeAssemblerState state(isolate(), &zone, interface_descriptor, |
+ GetCodeFlags(), name); |
+ CodeStubAssembler assembler(&state); |
int total_params = interface_descriptor.GetStackParameterCount() + |
interface_descriptor.GetRegisterParameterCount(); |
switch (total_params) { |
@@ -284,7 +285,7 @@ Handle<Code> HydrogenCodeStub::GenerateRuntimeTailCall( |
UNIMPLEMENTED(); |
break; |
} |
- return assembler.GenerateCode(); |
+ return compiler::CodeAssembler::GenerateCode(&state); |
} |
template <class Stub> |