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

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

Issue 2544793002: [stubs] Cleanup storing of maps to objects. (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 | « src/compiler/code-assembler.h ('k') | src/ic/accessor-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 #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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 Node* CodeAssembler::Store(Node* base, Node* value) { 310 Node* CodeAssembler::Store(Node* base, Node* value) {
311 return raw_assembler()->Store(MachineRepresentation::kTagged, base, value, 311 return raw_assembler()->Store(MachineRepresentation::kTagged, base, value,
312 kFullWriteBarrier); 312 kFullWriteBarrier);
313 } 313 }
314 314
315 Node* CodeAssembler::Store(Node* base, Node* offset, Node* value) { 315 Node* CodeAssembler::Store(Node* base, Node* offset, Node* value) {
316 return raw_assembler()->Store(MachineRepresentation::kTagged, base, offset, 316 return raw_assembler()->Store(MachineRepresentation::kTagged, base, offset,
317 value, kFullWriteBarrier); 317 value, kFullWriteBarrier);
318 } 318 }
319 319
320 Node* CodeAssembler::StoreWithMapWriteBarrier(Node* base, Node* offset,
321 Node* value) {
322 return raw_assembler()->Store(MachineRepresentation::kTagged, base, offset,
323 value, kMapWriteBarrier);
324 }
325
320 Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, 326 Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base,
321 Node* value) { 327 Node* value) {
322 return raw_assembler()->Store(rep, base, value, kNoWriteBarrier); 328 return raw_assembler()->Store(rep, base, value, kNoWriteBarrier);
323 } 329 }
324 330
325 Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, 331 Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base,
326 Node* offset, Node* value) { 332 Node* offset, Node* value) {
327 return raw_assembler()->Store(rep, base, offset, value, kNoWriteBarrier); 333 return raw_assembler()->Store(rep, base, offset, value, kNoWriteBarrier);
328 } 334 }
329 335
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 } 1212 }
1207 } 1213 }
1208 } 1214 }
1209 1215
1210 bound_ = true; 1216 bound_ = true;
1211 } 1217 }
1212 1218
1213 } // namespace compiler 1219 } // namespace compiler
1214 } // namespace internal 1220 } // namespace internal
1215 } // namespace v8 1221 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.h ('k') | src/ic/accessor-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698