| OLD | NEW |
| 1 //===- JSBackendMCTargetDesc.h - JS Backend Target Descriptions -*- C++ -*-===// | 1 //===-- llvm/Target/PNaCl/PNaClTargetMachine.h - Target Information -*- C++ -*-=
==// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file provides asm.js specific target descriptions. | 10 // This file defines the TargetMachine class specific to PNaCl. |
| 11 // | 11 // |
| 12 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
| 13 | 13 |
| 14 #ifndef JSBACKENDMCTARGETDESC_H | |
| 15 #define JSBACKENDMCTARGETDESC_H | |
| 16 | |
| 17 #include "llvm/Support/TargetRegistry.h" | 14 #include "llvm/Support/TargetRegistry.h" |
| 18 | 15 |
| 19 namespace llvm { | 16 namespace llvm { |
| 17 Target PNaClLe32_Target; |
| 18 } |
| 20 | 19 |
| 21 extern Target TheJSBackendTarget; | 20 using namespace llvm; |
| 22 | 21 |
| 23 } // End llvm namespace | 22 extern "C" void LLVMInitializePNaClTargetInfo() { |
| 24 | 23 RegisterTarget<Triple::le32, false> |
| 25 #endif | 24 X(PNaClLe32_Target, "le32", "The PNaCl/Emscripten target."); |
| 25 } |
| OLD | NEW |