Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 77cb92900c4e2e021e8e7d5488c3e1a38ce232f8..16dcbf8c80c824a836ece8a0da783a3015054156 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -49,7 +49,7 @@ class LoadICStubShim : public HydrogenCodeStub { |
Register registers[] = { InterfaceDescriptor::ContextRegister(), |
LoadIC::ReceiverRegister(), |
LoadIC::NameRegister() }; |
- descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers); |
+ descriptor->Initialize(MajorKey(), arraysize(registers), registers); |
} |
private: |
@@ -79,7 +79,7 @@ class KeyedLoadICStubShim : public HydrogenCodeStub { |
Register registers[] = { InterfaceDescriptor::ContextRegister(), |
KeyedLoadIC::ReceiverRegister(), |
KeyedLoadIC::NameRegister() }; |
- descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers); |
+ descriptor->Initialize(MajorKey(), arraysize(registers), registers); |
} |
private: |
@@ -109,7 +109,7 @@ class StoreICStubShim : public HydrogenCodeStub { |
StoreIC::ReceiverRegister(), |
StoreIC::NameRegister(), |
StoreIC::ValueRegister() }; |
- descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers); |
+ descriptor->Initialize(MajorKey(), arraysize(registers), registers); |
} |
private: |
@@ -143,7 +143,7 @@ class KeyedStoreICStubShim : public HydrogenCodeStub { |
KeyedStoreIC::ReceiverRegister(), |
KeyedStoreIC::NameRegister(), |
KeyedStoreIC::ValueRegister() }; |
- descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers); |
+ descriptor->Initialize(MajorKey(), arraysize(registers), registers); |
} |
private: |