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

Side by Side Diff: src/compiler/code-stub-assembler.cc

Issue 1513543003: [turbofan] Make MachineType a pair of enums. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Moar rebase Created 5 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 | « src/compiler/code-generator.cc ('k') | src/compiler/common-operator.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/code-stub-assembler.h" 5 #include "src/compiler/code-stub-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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return raw_assembler_->IntPtrSub(a, b); 112 return raw_assembler_->IntPtrSub(a, b);
113 } 113 }
114 114
115 115
116 Node* CodeStubAssembler::WordShl(Node* value, int shift) { 116 Node* CodeStubAssembler::WordShl(Node* value, int shift) {
117 return raw_assembler_->WordShl(value, Int32Constant(shift)); 117 return raw_assembler_->WordShl(value, Int32Constant(shift));
118 } 118 }
119 119
120 120
121 Node* CodeStubAssembler::LoadObjectField(Node* object, int offset) { 121 Node* CodeStubAssembler::LoadObjectField(Node* object, int offset) {
122 return raw_assembler_->Load(kMachAnyTagged, object, 122 return raw_assembler_->Load(MachineType::AnyTagged(), object,
123 IntPtrConstant(offset - kHeapObjectTag)); 123 IntPtrConstant(offset - kHeapObjectTag));
124 } 124 }
125 125
126 126
127 Node* CodeStubAssembler::CallN(CallDescriptor* descriptor, Node* code_target, 127 Node* CodeStubAssembler::CallN(CallDescriptor* descriptor, Node* code_target,
128 Node** args) { 128 Node** args) {
129 return raw_assembler_->CallN(descriptor, code_target, args); 129 return raw_assembler_->CallN(descriptor, code_target, args);
130 } 130 }
131 131
132 132
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 Graph* CodeStubAssembler::graph() { return raw_assembler_->graph(); } 168 Graph* CodeStubAssembler::graph() { return raw_assembler_->graph(); }
169 169
170 170
171 Zone* CodeStubAssembler::zone() { return raw_assembler_->zone(); } 171 Zone* CodeStubAssembler::zone() { return raw_assembler_->zone(); }
172 172
173 173
174 } // namespace compiler 174 } // namespace compiler
175 } // namespace internal 175 } // namespace internal
176 } // namespace v8 176 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/common-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698