blob: 1c001d60f9eebbc023123d45fe6464fec2b848d6 [file] [log] [blame]
// Copyright 2011 Google Inc. All Rights Reserved.
#include "context.h"
#include "context_arm.h"
#include "context_x86.h"
namespace art {
Context* Context::Create() {
#if defined(__arm__)
return new arm::ArmContext();
#else
return new x86::X86Context();
#endif
}
} // namespace art