Commit 20c56bdd authored by ivica.bogosavljevic's avatar ivica.bogosavljevic Committed by Commit bot

Fix compilation failure when v8 compiled with GCC 5.x due to `-Werror=unused-variable`

BUG=

Review-Url: https://codereview.chromium.org/2212133003
Cr-Commit-Position: refs/heads/master@{#38385}
parent 6cd494fe
...@@ -26,6 +26,7 @@ class LinkageTailCall : public TestWithZone { ...@@ -26,6 +26,7 @@ class LinkageTailCall : public TestWithZone {
CallDescriptor* NewStandardCallDescriptor(LocationSignature* locations) { CallDescriptor* NewStandardCallDescriptor(LocationSignature* locations) {
DCHECK(arraysize(kMachineTypes) >= DCHECK(arraysize(kMachineTypes) >=
locations->return_count() + locations->parameter_count()); locations->return_count() + locations->parameter_count());
USE(kMachineTypes);
return new (zone()) CallDescriptor( return new (zone()) CallDescriptor(
CallDescriptor::kCallCodeObject, MachineType::AnyTagged(), CallDescriptor::kCallCodeObject, MachineType::AnyTagged(),
LinkageLocation::ForAnyRegister(MachineType::Pointer()), LinkageLocation::ForAnyRegister(MachineType::Pointer()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment