Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Side by Side Diff: src/compiler/code-assembler.h

Issue 2546723002: [stubs] Rename index parameter to offset in CA::Load/Store operations. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/code-assembler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 // Access to the frame pointer 258 // Access to the frame pointer
259 Node* LoadFramePointer(); 259 Node* LoadFramePointer();
260 Node* LoadParentFramePointer(); 260 Node* LoadParentFramePointer();
261 261
262 // Access to the stack pointer 262 // Access to the stack pointer
263 Node* LoadStackPointer(); 263 Node* LoadStackPointer();
264 264
265 // Load raw memory location. 265 // Load raw memory location.
266 Node* Load(MachineType rep, Node* base); 266 Node* Load(MachineType rep, Node* base);
267 Node* Load(MachineType rep, Node* base, Node* index); 267 Node* Load(MachineType rep, Node* base, Node* offset);
268 Node* AtomicLoad(MachineType rep, Node* base, Node* index); 268 Node* AtomicLoad(MachineType rep, Node* base, Node* offset);
269 269
270 // Load a value from the root array. 270 // Load a value from the root array.
271 Node* LoadRoot(Heap::RootListIndex root_index); 271 Node* LoadRoot(Heap::RootListIndex root_index);
272 272
273 // Store value to raw memory location. 273 // Store value to raw memory location.
274 Node* Store(MachineRepresentation rep, Node* base, Node* value); 274 Node* Store(MachineRepresentation rep, Node* base, Node* value);
275 Node* Store(MachineRepresentation rep, Node* base, Node* index, Node* value); 275 Node* Store(MachineRepresentation rep, Node* base, Node* offset, Node* value);
276 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value); 276 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* value);
277 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* index, 277 Node* StoreNoWriteBarrier(MachineRepresentation rep, Node* base, Node* offset,
278 Node* value); 278 Node* value);
279 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* index, 279 Node* AtomicStore(MachineRepresentation rep, Node* base, Node* offset,
280 Node* value); 280 Node* value);
281 281
282 // Store a value to the root array. 282 // Store a value to the root array.
283 Node* StoreRoot(Heap::RootListIndex root_index, Node* value); 283 Node* StoreRoot(Heap::RootListIndex root_index, Node* value);
284 284
285 // Basic arithmetic operations. 285 // Basic arithmetic operations.
286 #define DECLARE_CODE_ASSEMBLER_BINARY_OP(name) Node* name(Node* a, Node* b); 286 #define DECLARE_CODE_ASSEMBLER_BINARY_OP(name) Node* name(Node* a, Node* b);
287 CODE_ASSEMBLER_BINARY_OP_LIST(DECLARE_CODE_ASSEMBLER_BINARY_OP) 287 CODE_ASSEMBLER_BINARY_OP_LIST(DECLARE_CODE_ASSEMBLER_BINARY_OP)
288 #undef DECLARE_CODE_ASSEMBLER_BINARY_OP 288 #undef DECLARE_CODE_ASSEMBLER_BINARY_OP
289 289
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 ZoneSet<CodeAssembler::Variable::Impl*> variables_; 548 ZoneSet<CodeAssembler::Variable::Impl*> variables_;
549 549
550 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); 550 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState);
551 }; 551 };
552 552
553 } // namespace compiler 553 } // namespace compiler
554 } // namespace internal 554 } // namespace internal
555 } // namespace v8 555 } // namespace v8
556 556
557 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 557 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698