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

Side by Side Diff: src/compiler/interpreter-assembler.cc

Issue 1659023002: [interpreter] Unify meaning of register count operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 10 months 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 | « src/compiler/interpreter-assembler.h ('k') | src/interpreter/bytecode-array-builder.h » ('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 #include "src/compiler/interpreter-assembler.h" 5 #include "src/compiler/interpreter-assembler.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 364
365 Node* InterpreterAssembler::IntPtrAdd(Node* a, Node* b) { 365 Node* InterpreterAssembler::IntPtrAdd(Node* a, Node* b) {
366 return raw_assembler_->IntPtrAdd(a, b); 366 return raw_assembler_->IntPtrAdd(a, b);
367 } 367 }
368 368
369 369
370 Node* InterpreterAssembler::IntPtrSub(Node* a, Node* b) { 370 Node* InterpreterAssembler::IntPtrSub(Node* a, Node* b) {
371 return raw_assembler_->IntPtrSub(a, b); 371 return raw_assembler_->IntPtrSub(a, b);
372 } 372 }
373 373
374 Node* InterpreterAssembler::Int32Sub(Node* a, Node* b) {
375 return raw_assembler_->Int32Sub(a, b);
376 }
374 377
375 Node* InterpreterAssembler::WordShl(Node* value, int shift) { 378 Node* InterpreterAssembler::WordShl(Node* value, int shift) {
376 return raw_assembler_->WordShl(value, Int32Constant(shift)); 379 return raw_assembler_->WordShl(value, Int32Constant(shift));
377 } 380 }
378 381
379 382
380 Node* InterpreterAssembler::LoadConstantPoolEntry(Node* index) { 383 Node* InterpreterAssembler::LoadConstantPoolEntry(Node* index) {
381 Node* constant_pool = LoadObjectField(BytecodeArrayTaggedPointer(), 384 Node* constant_pool = LoadObjectField(BytecodeArrayTaggedPointer(),
382 BytecodeArray::kConstantPoolOffset); 385 BytecodeArray::kConstantPoolOffset);
383 Node* entry_offset = 386 Node* entry_offset =
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 return raw_assembler_->call_descriptor(); 751 return raw_assembler_->call_descriptor();
749 } 752 }
750 753
751 754
752 Zone* InterpreterAssembler::zone() { return raw_assembler_->zone(); } 755 Zone* InterpreterAssembler::zone() { return raw_assembler_->zone(); }
753 756
754 757
755 } // namespace compiler 758 } // namespace compiler
756 } // namespace internal 759 } // namespace internal
757 } // namespace v8 760 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/interpreter-assembler.h ('k') | src/interpreter/bytecode-array-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698