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/pipeline.h" | 5 #include "src/compiler/pipeline.h" |
6 | 6 |
7 #include <fstream> // NOLINT(readability/streams) | 7 #include <fstream> // NOLINT(readability/streams) |
8 #include <sstream> | 8 #include <sstream> |
9 | 9 |
10 #include "src/base/platform/elapsed-timer.h" | 10 #include "src/base/platform/elapsed-timer.h" |
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1167 verifier->VerifyAssignment(); | 1167 verifier->VerifyAssignment(); |
1168 verifier->VerifyGapMoves(); | 1168 verifier->VerifyGapMoves(); |
1169 } | 1169 } |
1170 | 1170 |
1171 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) { | 1171 if (FLAG_trace_turbo && !data->MayHaveUnverifiableGraph()) { |
1172 TurboCfgFile tcf(data->isolate()); | 1172 TurboCfgFile tcf(data->isolate()); |
1173 tcf << AsC1VAllocator("CodeGen", data->register_allocator()); | 1173 tcf << AsC1VAllocator("CodeGen", data->register_allocator()); |
1174 } | 1174 } |
1175 } | 1175 } |
1176 | 1176 |
1177 | |
1178 void Pipeline::SetUp() { | |
1179 InstructionOperand::SetUpCaches(); | |
1180 } | |
1181 | |
1182 | |
1183 void Pipeline::TearDown() { | |
1184 InstructionOperand::TearDownCaches(); | |
1185 } | |
1186 | |
1187 } // namespace compiler | 1177 } // namespace compiler |
1188 } // namespace internal | 1178 } // namespace internal |
1189 } // namespace v8 | 1179 } // namespace v8 |
OLD | NEW |