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

Side by Side Diff: src/compiler/machine-operator.cc

Issue 885813002: Minor refactoring for Zone class and friends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/bit-vector.h ('k') | src/deoptimizer.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/machine-operator.h" 5 #include "src/compiler/machine-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/v8.h"
11 #include "src/zone-inl.h"
12 10
13 namespace v8 { 11 namespace v8 {
14 namespace internal { 12 namespace internal {
15 namespace compiler { 13 namespace compiler {
16 14
17 std::ostream& operator<<(std::ostream& os, WriteBarrierKind kind) { 15 std::ostream& operator<<(std::ostream& os, WriteBarrierKind kind) {
18 switch (kind) { 16 switch (kind) {
19 case kNoWriteBarrier: 17 case kNoWriteBarrier:
20 return os << "NoWriteBarrier"; 18 return os << "NoWriteBarrier";
21 case kFullWriteBarrier: 19 case kFullWriteBarrier:
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 310 }
313 // Uncached. 311 // Uncached.
314 return new (zone_) Operator1<CheckedStoreRepresentation>( 312 return new (zone_) Operator1<CheckedStoreRepresentation>(
315 IrOpcode::kCheckedStore, Operator::kNoRead | Operator::kNoThrow, 313 IrOpcode::kCheckedStore, Operator::kNoRead | Operator::kNoThrow,
316 "CheckedStore", 4, 1, 1, 0, 1, 0, rep); 314 "CheckedStore", 4, 1, 1, 0, 1, 0, rep);
317 } 315 }
318 316
319 } // namespace compiler 317 } // namespace compiler
320 } // namespace internal 318 } // namespace internal
321 } // namespace v8 319 } // namespace v8
OLDNEW
« no previous file with comments | « src/bit-vector.h ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698