| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |