Commit 1bf32cf5 authored by ishell's avatar ishell Committed by Commit bot

[stubs] Rename index parameter to offset in CA::Load/Store operations.

... to avoid confusion.

BUG=

Review-Url: https://codereview.chromium.org/2546723002
Cr-Commit-Position: refs/heads/master@{#41424}
parent d735f3ab
...@@ -283,12 +283,12 @@ Node* CodeAssembler::Load(MachineType rep, Node* base) { ...@@ -283,12 +283,12 @@ Node* CodeAssembler::Load(MachineType rep, Node* base) {
return raw_assembler()->Load(rep, base); return raw_assembler()->Load(rep, base);
} }
Node* CodeAssembler::Load(MachineType rep, Node* base, Node* index) { Node* CodeAssembler::Load(MachineType rep, Node* base, Node* offset) {
return raw_assembler()->Load(rep, base, index); return raw_assembler()->Load(rep, base, offset);
} }
Node* CodeAssembler::AtomicLoad(MachineType rep, Node* base, Node* index) { Node* CodeAssembler::AtomicLoad(MachineType rep, Node* base, Node* offset) {
return raw_assembler()->AtomicLoad(rep, base, index); return raw_assembler()->AtomicLoad(rep, base, offset);
} }
Node* CodeAssembler::LoadRoot(Heap::RootListIndex root_index) { Node* CodeAssembler::LoadRoot(Heap::RootListIndex root_index) {
...@@ -311,9 +311,9 @@ Node* CodeAssembler::Store(MachineRepresentation rep, Node* base, Node* value) { ...@@ -311,9 +311,9 @@ Node* CodeAssembler::Store(MachineRepresentation rep, Node* base, Node* value) {
return raw_assembler()->Store(rep, base, value, kFullWriteBarrier); return raw_assembler()->Store(rep, base, value, kFullWriteBarrier);
} }
Node* CodeAssembler::Store(MachineRepresentation rep, Node* base, Node* index, Node* CodeAssembler::Store(MachineRepresentation rep, Node* base, Node* offset,
Node* value) { Node* value) {
return raw_assembler()->Store(rep, base, index, value, kFullWriteBarrier); return raw_assembler()->Store(rep, base, offset, value, kFullWriteBarrier);
} }
Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base,
...@@ -322,13 +322,13 @@ Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, ...@@ -322,13 +322,13 @@ Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base,
} }
Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base,
Node* index, Node* value) { Node* offset, Node* value) {
return raw_assembler()->Store(rep, base, index, value, kNoWriteBarrier); return raw_assembler()->Store(rep, base, offset, value, kNoWriteBarrier);
} }
Node* CodeAssembler::AtomicStore(MachineRepresentation rep, Node* base, Node* CodeAssembler::AtomicStore(MachineRepresentation rep, Node* base,
Node* index, Node* value) { Node* offset, Node* value) {
return raw_assembler()->AtomicStore(rep, base, index, value); return raw_assembler()->AtomicStore(rep, base, offset, value);
} }
Node* CodeAssembler::StoreRoot(Heap::RootListIndex root_index, Node* value) { Node* CodeAssembler::StoreRoot(Heap::RootListIndex root_index, Node* value) {
......
...@@ -264,19 +264,19 @@ class V8_EXPORT_PRIVATE CodeAssembler { ...@@ -264,19 +264,19 @@ class V8_EXPORT_PRIVATE CodeAssembler {
// Load raw memory location. // Load raw memory location.
Node* Load(MachineType rep, Node* base); Node* Load(MachineType rep, Node* base);
Node* Load(MachineType rep, Node* base, Node* index); Node* Load(MachineType rep, Node* base, Node* offset);
Node* AtomicLoad(MachineType rep, Node* base, Node* index); Node* AtomicLoad(MachineType rep, Node* base, Node* offset);
// Load a value from the root array. // Load a value from the root array.
Node* LoadRoot(Heap::RootListIndex root_index); Node* LoadRoot(Heap::RootListIndex root_index);
// Store value to raw memory location. // Store value to raw memory location.
Node* Store(MachineRepresentation rep, Node* base, Node* value); Node* Store(MachineRepresentation rep, Node* base, Node* value);
Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value); Node* Store(MachineRepresentation rep, Node* base, Node* offset, Node* value);
Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value);
Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* index, Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* offset,
Node* value); Node* value);
Node* AtomicStore(MachineRepresentation rep, Node* base, Node* index, Node* AtomicStore(MachineRepresentation rep, Node* base, Node* offset,
Node* value); Node* value);
// Store a value to the root array. // Store a value to the root array.
......
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