blob: fb6c625926ac56451efd5a2ea92c2addb2e964b4 [file] [log] [blame]
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -08001/*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef ART_COMPILER_COMMON_COMPILER_TEST_H_
18#define ART_COMPILER_COMMON_COMPILER_TEST_H_
19
Nicolas Geoffrayb34f69a2014-03-07 15:28:39 +000020#include "compiler.h"
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -080021#include "compiler_callbacks.h"
22#include "common_runtime_test.h"
23#include "dex/quick/dex_file_to_method_inliner_map.h"
24#include "dex/verification_results.h"
25#include "driver/compiler_callbacks_impl.h"
26#include "driver/compiler_driver.h"
27#include "driver/compiler_options.h"
28
29namespace art {
30
31#if defined(__arm__)
32
33#include <sys/ucontext.h>
34
35// A signal handler called when have an illegal instruction. We record the fact in
36// a global boolean and then increment the PC in the signal context to return to
37// the next instruction. We know the instruction is an sdiv (4 bytes long).
Ian Rogers719d1a32014-03-06 12:13:39 -080038static inline void baddivideinst(int signo, siginfo *si, void *data) {
39 UNUSED(signo);
40 UNUSED(si);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -080041 struct ucontext *uc = (struct ucontext *)data;
42 struct sigcontext *sc = &uc->uc_mcontext;
43 sc->arm_r0 = 0; // set R0 to #0 to signal error
44 sc->arm_pc += 4; // skip offending instruction
45}
46
47// This is in arch/arm/arm_sdiv.S. It does the following:
48// mov r1,#1
49// sdiv r0,r1,r1
50// bx lr
51//
52// the result will be the value 1 if sdiv is supported. If it is not supported
53// a SIGILL signal will be raised and the signal handler (baddivideinst) called.
54// The signal handler sets r0 to #0 and then increments pc beyond the failed instruction.
55// Thus if the instruction is not supported, the result of this function will be #0
56
57extern "C" bool CheckForARMSDIVInstruction();
58
Ian Rogers719d1a32014-03-06 12:13:39 -080059static inline InstructionSetFeatures GuessInstructionFeatures() {
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -080060 InstructionSetFeatures f;
61
62 // Uncomment this for processing of /proc/cpuinfo.
63 if (false) {
64 // Look in /proc/cpuinfo for features we need. Only use this when we can guarantee that
65 // the kernel puts the appropriate feature flags in here. Sometimes it doesn't.
66 std::ifstream in("/proc/cpuinfo");
67 if (in) {
68 while (!in.eof()) {
69 std::string line;
70 std::getline(in, line);
71 if (!in.eof()) {
72 if (line.find("Features") != std::string::npos) {
73 if (line.find("idivt") != std::string::npos) {
74 f.SetHasDivideInstruction(true);
75 }
76 }
77 }
78 in.close();
79 }
80 } else {
81 LOG(INFO) << "Failed to open /proc/cpuinfo";
82 }
83 }
84
85 // See if have a sdiv instruction. Register a signal handler and try to execute
86 // an sdiv instruction. If we get a SIGILL then it's not supported. We can't use
87 // the /proc/cpuinfo method for this because Krait devices don't always put the idivt
88 // feature in the list.
89 struct sigaction sa, osa;
90 sa.sa_flags = SA_ONSTACK | SA_RESTART | SA_SIGINFO;
91 sa.sa_sigaction = baddivideinst;
92 sigaction(SIGILL, &sa, &osa);
93
94 if (CheckForARMSDIVInstruction()) {
95 f.SetHasDivideInstruction(true);
96 }
97
98 // Restore the signal handler.
99 sigaction(SIGILL, &osa, nullptr);
100
101 // Other feature guesses in here.
102 return f;
103}
104
105#endif
106
107// Given a set of instruction features from the build, parse it. The
108// input 'str' is a comma separated list of feature names. Parse it and
109// return the InstructionSetFeatures object.
Ian Rogers719d1a32014-03-06 12:13:39 -0800110static inline InstructionSetFeatures ParseFeatureList(std::string str) {
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800111 InstructionSetFeatures result;
112 typedef std::vector<std::string> FeatureList;
113 FeatureList features;
114 Split(str, ',', features);
115 for (FeatureList::iterator i = features.begin(); i != features.end(); i++) {
116 std::string feature = Trim(*i);
117 if (feature == "default") {
118 // Nothing to do.
119 } else if (feature == "div") {
120 // Supports divide instruction.
121 result.SetHasDivideInstruction(true);
122 } else if (feature == "nodiv") {
123 // Turn off support for divide instruction.
124 result.SetHasDivideInstruction(false);
125 } else {
126 LOG(FATAL) << "Unknown instruction set feature: '" << feature << "'";
127 }
128 }
129 // Others...
130 return result;
131}
132
Dmitry Petrochenkof0972a42014-05-16 17:43:39 +0700133// Normally the ClassLinker supplies this.
134extern "C" void art_quick_generic_jni_trampoline(mirror::ArtMethod*);
135
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800136class CommonCompilerTest : public CommonRuntimeTest {
137 public:
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800138 // Create an OatMethod based on pointers (for unit tests).
139 OatFile::OatMethod CreateOatMethod(const void* code,
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800140 const uint8_t* gc_map) {
Vladimir Marko8a630572014-04-09 18:45:35 +0100141 CHECK(code != nullptr);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800142 const byte* base;
Vladimir Marko8a630572014-04-09 18:45:35 +0100143 uint32_t code_offset, gc_map_offset;
144 if (gc_map == nullptr) {
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800145 base = reinterpret_cast<const byte*>(code); // Base of data points at code.
146 base -= kPointerSize; // Move backward so that code_offset != 0.
147 code_offset = kPointerSize;
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800148 gc_map_offset = 0;
149 } else {
150 // TODO: 64bit support.
151 base = nullptr; // Base of data in oat file, ie 0.
152 code_offset = PointerToLowMemUInt32(code);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800153 gc_map_offset = PointerToLowMemUInt32(gc_map);
154 }
155 return OatFile::OatMethod(base,
156 code_offset,
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800157 gc_map_offset);
158 }
159
160 void MakeExecutable(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
161 CHECK(method != nullptr);
162
163 const CompiledMethod* compiled_method = nullptr;
164 if (!method->IsAbstract()) {
165 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache();
166 const DexFile& dex_file = *dex_cache->GetDexFile();
167 compiled_method =
168 compiler_driver_->GetCompiledMethod(MethodReference(&dex_file,
169 method->GetDexMethodIndex()));
170 }
171 if (compiled_method != nullptr) {
172 const std::vector<uint8_t>* code = compiled_method->GetQuickCode();
Vladimir Marko8a630572014-04-09 18:45:35 +0100173 const void* code_ptr;
174 if (code != nullptr) {
175 uint32_t code_size = code->size();
176 CHECK_NE(0u, code_size);
177 const std::vector<uint8_t>& vmap_table = compiled_method->GetVmapTable();
178 uint32_t vmap_table_offset = vmap_table.empty() ? 0u
Vladimir Marko7624d252014-05-02 14:40:15 +0100179 : sizeof(OatQuickMethodHeader) + vmap_table.size();
Vladimir Marko8a630572014-04-09 18:45:35 +0100180 const std::vector<uint8_t>& mapping_table = compiled_method->GetMappingTable();
181 uint32_t mapping_table_offset = mapping_table.empty() ? 0u
Vladimir Marko7624d252014-05-02 14:40:15 +0100182 : sizeof(OatQuickMethodHeader) + vmap_table.size() + mapping_table.size();
183 OatQuickMethodHeader method_header(mapping_table_offset, vmap_table_offset,
184 compiled_method->GetFrameSizeInBytes(),
185 compiled_method->GetCoreSpillMask(),
186 compiled_method->GetFpSpillMask(), code_size);
Vladimir Marko8a630572014-04-09 18:45:35 +0100187
188 header_code_and_maps_chunks_.push_back(std::vector<uint8_t>());
189 std::vector<uint8_t>* chunk = &header_code_and_maps_chunks_.back();
190 size_t size = sizeof(method_header) + code_size + vmap_table.size() + mapping_table.size();
191 size_t code_offset = compiled_method->AlignCode(size - code_size);
192 size_t padding = code_offset - (size - code_size);
193 chunk->reserve(padding + size);
194 chunk->resize(sizeof(method_header));
195 memcpy(&(*chunk)[0], &method_header, sizeof(method_header));
196 chunk->insert(chunk->begin(), vmap_table.begin(), vmap_table.end());
197 chunk->insert(chunk->begin(), mapping_table.begin(), mapping_table.end());
198 chunk->insert(chunk->begin(), padding, 0);
199 chunk->insert(chunk->end(), code->begin(), code->end());
200 CHECK_EQ(padding + size, chunk->size());
201 code_ptr = &(*chunk)[code_offset];
202 } else {
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800203 code = compiled_method->GetPortableCode();
Vladimir Marko8a630572014-04-09 18:45:35 +0100204 code_ptr = &(*code)[0];
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800205 }
Vladimir Marko8a630572014-04-09 18:45:35 +0100206 MakeExecutable(code_ptr, code->size());
207 const void* method_code = CompiledMethod::CodePointer(code_ptr,
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800208 compiled_method->GetInstructionSet());
209 LOG(INFO) << "MakeExecutable " << PrettyMethod(method) << " code=" << method_code;
Vladimir Marko7624d252014-05-02 14:40:15 +0100210 OatFile::OatMethod oat_method = CreateOatMethod(method_code, nullptr);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800211 oat_method.LinkMethod(method);
212 method->SetEntryPointFromInterpreter(artInterpreterToCompiledCodeBridge);
213 } else {
214 // No code? You must mean to go into the interpreter.
Andreas Gampe2da88232014-02-27 12:26:20 -0800215 // Or the generic JNI...
Andreas Gampebf6b92a2014-03-05 16:11:04 -0800216 if (!method->IsNative()) {
217 const void* method_code = kUsePortableCompiler ? GetPortableToInterpreterBridge()
218 : GetQuickToInterpreterBridge();
Vladimir Marko7624d252014-05-02 14:40:15 +0100219 OatFile::OatMethod oat_method = CreateOatMethod(method_code, nullptr);
Andreas Gampebf6b92a2014-03-05 16:11:04 -0800220 oat_method.LinkMethod(method);
221 method->SetEntryPointFromInterpreter(interpreter::artInterpreterToInterpreterBridge);
222 } else {
Dmitry Petrochenkof0972a42014-05-16 17:43:39 +0700223 const void* method_code = reinterpret_cast<void*>(art_quick_generic_jni_trampoline);
Andreas Gampe36fea8d2014-03-10 13:37:40 -0700224
Vladimir Marko7624d252014-05-02 14:40:15 +0100225 OatFile::OatMethod oat_method = CreateOatMethod(method_code, nullptr);
Andreas Gampebf6b92a2014-03-05 16:11:04 -0800226 oat_method.LinkMethod(method);
227 method->SetEntryPointFromInterpreter(artInterpreterToCompiledCodeBridge);
228 }
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800229 }
230 // Create bridges to transition between different kinds of compiled bridge.
231 if (method->GetEntryPointFromPortableCompiledCode() == nullptr) {
232 method->SetEntryPointFromPortableCompiledCode(GetPortableToQuickBridge());
233 } else {
234 CHECK(method->GetEntryPointFromQuickCompiledCode() == nullptr);
235 method->SetEntryPointFromQuickCompiledCode(GetQuickToPortableBridge());
236 method->SetIsPortableCompiled();
237 }
238 }
239
240 static void MakeExecutable(const void* code_start, size_t code_length) {
241 CHECK(code_start != nullptr);
242 CHECK_NE(code_length, 0U);
243 uintptr_t data = reinterpret_cast<uintptr_t>(code_start);
244 uintptr_t base = RoundDown(data, kPageSize);
245 uintptr_t limit = RoundUp(data + code_length, kPageSize);
246 uintptr_t len = limit - base;
247 int result = mprotect(reinterpret_cast<void*>(base), len, PROT_READ | PROT_WRITE | PROT_EXEC);
248 CHECK_EQ(result, 0);
249
250 // Flush instruction cache
251 // Only uses __builtin___clear_cache if GCC >= 4.3.3
252#if GCC_VERSION >= 40303
253 __builtin___clear_cache(reinterpret_cast<void*>(base), reinterpret_cast<void*>(base + len));
254#else
Ian Rogersb48b9eb2014-02-28 16:20:21 -0800255 LOG(WARNING) << "UNIMPLEMENTED: cache flush";
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800256#endif
257 }
258
259 void MakeExecutable(mirror::ClassLoader* class_loader, const char* class_name)
260 SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
261 std::string class_descriptor(DotToDescriptor(class_name));
262 Thread* self = Thread::Current();
Mathieu Chartiereb8167a2014-05-07 15:43:14 -0700263 StackHandleScope<1> hs(self);
264 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader));
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800265 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader);
266 CHECK(klass != nullptr) << "Class not found " << class_name;
267 for (size_t i = 0; i < klass->NumDirectMethods(); i++) {
268 MakeExecutable(klass->GetDirectMethod(i));
269 }
270 for (size_t i = 0; i < klass->NumVirtualMethods(); i++) {
271 MakeExecutable(klass->GetVirtualMethod(i));
272 }
273 }
274
275 protected:
276 virtual void SetUp() {
277 CommonRuntimeTest::SetUp();
278 {
279 ScopedObjectAccess soa(Thread::Current());
280
281 InstructionSet instruction_set = kNone;
282
283 // Take the default set of instruction features from the build.
284 InstructionSetFeatures instruction_set_features =
Ian Rogers8afeb852014-04-02 14:55:49 -0700285 ParseFeatureList(Runtime::GetDefaultInstructionSetFeatures());
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800286
287#if defined(__arm__)
288 instruction_set = kThumb2;
289 InstructionSetFeatures runtime_features = GuessInstructionFeatures();
290
291 // for ARM, do a runtime check to make sure that the features we are passed from
292 // the build match the features we actually determine at runtime.
Serban Constantinescu75b91132014-04-09 18:39:10 +0100293 ASSERT_LE(instruction_set_features, runtime_features);
Stuart Monteithb95a5342014-03-12 13:32:32 +0000294#elif defined(__aarch64__)
295 instruction_set = kArm64;
296 // TODO: arm64 compilation support.
297 compiler_options_->SetCompilerFilter(CompilerOptions::kInterpretOnly);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800298#elif defined(__mips__)
299 instruction_set = kMips;
300#elif defined(__i386__)
301 instruction_set = kX86;
302#elif defined(__x86_64__)
303 instruction_set = kX86_64;
304 // TODO: x86_64 compilation support.
Dmitry Petrochenko659d87d2014-02-27 14:23:11 +0700305 compiler_options_->SetCompilerFilter(CompilerOptions::kInterpretOnly);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800306#endif
307
Vladimir Marko7624d252014-05-02 14:40:15 +0100308 runtime_->SetInstructionSet(instruction_set);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800309 for (int i = 0; i < Runtime::kLastCalleeSaveType; i++) {
310 Runtime::CalleeSaveType type = Runtime::CalleeSaveType(i);
311 if (!runtime_->HasCalleeSaveMethod(type)) {
312 runtime_->SetCalleeSaveMethod(
Vladimir Marko7624d252014-05-02 14:40:15 +0100313 runtime_->CreateCalleeSaveMethod(type), type);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800314 }
315 }
316
317 // TODO: make selectable
Nicolas Geoffrayb34f69a2014-03-07 15:28:39 +0000318 Compiler::Kind compiler_kind
319 = (kUsePortableCompiler) ? Compiler::kPortable : Compiler::kQuick;
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800320 timer_.reset(new CumulativeLogger("Compilation times"));
321 compiler_driver_.reset(new CompilerDriver(compiler_options_.get(),
322 verification_results_.get(),
323 method_inliner_map_.get(),
Nicolas Geoffrayb34f69a2014-03-07 15:28:39 +0000324 compiler_kind, instruction_set,
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800325 instruction_set_features,
326 true, new CompilerDriver::DescriptorSet,
327 2, true, true, timer_.get()));
328 }
329 // We typically don't generate an image in unit tests, disable this optimization by default.
330 compiler_driver_->SetSupportBootImageFixup(false);
331 }
332
333 virtual void SetUpRuntimeOptions(Runtime::Options *options) {
334 CommonRuntimeTest::SetUpRuntimeOptions(options);
335
336 compiler_options_.reset(new CompilerOptions);
337 verification_results_.reset(new VerificationResults(compiler_options_.get()));
338 method_inliner_map_.reset(new DexFileToMethodInlinerMap);
339 callbacks_.reset(new CompilerCallbacksImpl(verification_results_.get(),
340 method_inliner_map_.get()));
341 options->push_back(std::make_pair("compilercallbacks", callbacks_.get()));
342 }
343
344 virtual void TearDown() {
345 timer_.reset();
346 compiler_driver_.reset();
347 callbacks_.reset();
348 method_inliner_map_.reset();
349 verification_results_.reset();
350 compiler_options_.reset();
351
352 CommonRuntimeTest::TearDown();
353 }
354
355 void CompileClass(mirror::ClassLoader* class_loader, const char* class_name)
356 SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
357 std::string class_descriptor(DotToDescriptor(class_name));
358 Thread* self = Thread::Current();
Mathieu Chartiereb8167a2014-05-07 15:43:14 -0700359 StackHandleScope<1> hs(self);
360 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader));
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800361 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader);
362 CHECK(klass != nullptr) << "Class not found " << class_name;
363 for (size_t i = 0; i < klass->NumDirectMethods(); i++) {
364 CompileMethod(klass->GetDirectMethod(i));
365 }
366 for (size_t i = 0; i < klass->NumVirtualMethods(); i++) {
367 CompileMethod(klass->GetVirtualMethod(i));
368 }
369 }
370
371 void CompileMethod(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
372 CHECK(method != nullptr);
373 TimingLogger timings("CommonTest::CompileMethod", false, false);
374 timings.StartSplit("CompileOne");
Ian Rogers3d504072014-03-01 09:16:49 -0800375 compiler_driver_->CompileOne(method, &timings);
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800376 MakeExecutable(method);
377 timings.EndSplit();
378 }
379
Mathieu Chartiereb8167a2014-05-07 15:43:14 -0700380 void CompileDirectMethod(Handle<mirror::ClassLoader>& class_loader, const char* class_name,
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800381 const char* method_name, const char* signature)
382 SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
383 std::string class_descriptor(DotToDescriptor(class_name));
384 Thread* self = Thread::Current();
385 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader);
386 CHECK(klass != nullptr) << "Class not found " << class_name;
387 mirror::ArtMethod* method = klass->FindDirectMethod(method_name, signature);
388 CHECK(method != nullptr) << "Direct method not found: "
389 << class_name << "." << method_name << signature;
390 CompileMethod(method);
391 }
392
Mathieu Chartiereb8167a2014-05-07 15:43:14 -0700393 void CompileVirtualMethod(Handle<mirror::ClassLoader>& class_loader, const char* class_name,
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800394 const char* method_name, const char* signature)
395 SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
396 std::string class_descriptor(DotToDescriptor(class_name));
397 Thread* self = Thread::Current();
398 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader);
399 CHECK(klass != nullptr) << "Class not found " << class_name;
400 mirror::ArtMethod* method = klass->FindVirtualMethod(method_name, signature);
401 CHECK(method != NULL) << "Virtual method not found: "
402 << class_name << "." << method_name << signature;
403 CompileMethod(method);
404 }
405
406 void ReserveImageSpace() {
407 // Reserve where the image will be loaded up front so that other parts of test set up don't
408 // accidentally end up colliding with the fixed memory address when we need to load the image.
409 std::string error_msg;
410 image_reservation_.reset(MemMap::MapAnonymous("image reservation",
411 reinterpret_cast<byte*>(ART_BASE_ADDRESS),
412 (size_t)100 * 1024 * 1024, // 100MB
413 PROT_NONE,
414 false /* no need for 4gb flag with fixed mmap*/,
415 &error_msg));
416 CHECK(image_reservation_.get() != nullptr) << error_msg;
417 }
418
419 void UnreserveImageSpace() {
420 image_reservation_.reset();
421 }
422
Ian Rogers700a4022014-05-19 16:49:03 -0700423 std::unique_ptr<CompilerOptions> compiler_options_;
424 std::unique_ptr<VerificationResults> verification_results_;
425 std::unique_ptr<DexFileToMethodInlinerMap> method_inliner_map_;
426 std::unique_ptr<CompilerCallbacksImpl> callbacks_;
427 std::unique_ptr<CompilerDriver> compiler_driver_;
428 std::unique_ptr<CumulativeLogger> timer_;
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800429
430 private:
Ian Rogers700a4022014-05-19 16:49:03 -0700431 std::unique_ptr<MemMap> image_reservation_;
Vladimir Marko8a630572014-04-09 18:45:35 +0100432
433 // Chunks must not move their storage after being created - use the node-based std::list.
Ian Rogers700a4022014-05-19 16:49:03 -0700434 std::list<std::vector<uint8_t>> header_code_and_maps_chunks_;
Brian Carlstroma1ce1fe2014-02-24 23:23:58 -0800435};
436
437} // namespace art
438
439#endif // ART_COMPILER_COMMON_COMPILER_TEST_H_