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

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

Issue 1922523002: [Interpreter] Use FastCloneShallowObjectStub in CreateObjectLiteral bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add todo Created 4 years, 7 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/code-assembler.h ('k') | src/full-codegen/full-codegen.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 #include "src/compiler/code-assembler.h" 5 #include "src/compiler/code-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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 Node* CodeAssembler::name(Node* a, Node* b) { \ 153 Node* CodeAssembler::name(Node* a, Node* b) { \
154 return raw_assembler_->name(a, b); \ 154 return raw_assembler_->name(a, b); \
155 } 155 }
156 CODE_ASSEMBLER_BINARY_OP_LIST(DEFINE_CODE_ASSEMBLER_BINARY_OP) 156 CODE_ASSEMBLER_BINARY_OP_LIST(DEFINE_CODE_ASSEMBLER_BINARY_OP)
157 #undef DEFINE_CODE_ASSEMBLER_BINARY_OP 157 #undef DEFINE_CODE_ASSEMBLER_BINARY_OP
158 158
159 Node* CodeAssembler::WordShl(Node* value, int shift) { 159 Node* CodeAssembler::WordShl(Node* value, int shift) {
160 return raw_assembler_->WordShl(value, IntPtrConstant(shift)); 160 return raw_assembler_->WordShl(value, IntPtrConstant(shift));
161 } 161 }
162 162
163 Node* CodeAssembler::WordShr(Node* value, int shift) {
164 return raw_assembler_->WordShr(value, IntPtrConstant(shift));
165 }
166
163 Node* CodeAssembler::ChangeUint32ToWord(Node* value) { 167 Node* CodeAssembler::ChangeUint32ToWord(Node* value) {
164 if (raw_assembler_->machine()->Is64()) { 168 if (raw_assembler_->machine()->Is64()) {
165 value = raw_assembler_->ChangeUint32ToUint64(value); 169 value = raw_assembler_->ChangeUint32ToUint64(value);
166 } 170 }
167 return value; 171 return value;
168 } 172 }
169 173
170 Node* CodeAssembler::ChangeInt32ToIntPtr(Node* value) { 174 Node* CodeAssembler::ChangeInt32ToIntPtr(Node* value) {
171 if (raw_assembler_->machine()->Is64()) { 175 if (raw_assembler_->machine()->Is64()) {
172 value = raw_assembler_->ChangeInt32ToInt64(value); 176 value = raw_assembler_->ChangeInt32ToInt64(value);
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 } 690 }
687 } 691 }
688 } 692 }
689 693
690 bound_ = true; 694 bound_ = true;
691 } 695 }
692 696
693 } // namespace compiler 697 } // namespace compiler
694 } // namespace internal 698 } // namespace internal
695 } // namespace v8 699 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698