Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(523)

Unified Diff: lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.h

Issue 1395453003: Create a proper target machine for PNaCl. Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Fix a test Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/PNaCl/TargetInfo/Makefile ('k') | lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.h
diff --git a/lib/Target/JSBackend/MCTargetDesc/JSBackendMCTargetDesc.h b/lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.h
similarity index 60%
copy from lib/Target/JSBackend/MCTargetDesc/JSBackendMCTargetDesc.h
copy to lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.h
index c98a55df83ba58cfc76b4ef4b5391c3df38d00b2..c92730448e9266d77fb9ff824ea1d1e3fa152312 100644
--- a/lib/Target/JSBackend/MCTargetDesc/JSBackendMCTargetDesc.h
+++ b/lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.h
@@ -1,4 +1,4 @@
-//===- JSBackendMCTargetDesc.h - JS Backend Target Descriptions -*- C++ -*-===//
+//===-- llvm/Target/PNaCl/PNaClTargetMachine.cpp - Target Information -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,19 +7,17 @@
//
//===----------------------------------------------------------------------===//
//
-// This file provides asm.js specific target descriptions.
+// This file defines the TargetMachine class specific to PNaCl.
//
//===----------------------------------------------------------------------===//
-#ifndef JSBACKENDMCTARGETDESC_H
-#define JSBACKENDMCTARGETDESC_H
+#ifndef LLVM_LIB_TARGET_PNACLTARGETINFO_H
+#define LLVM_LIB_TARGET_PNACLTARGETINFO_H
#include "llvm/Support/TargetRegistry.h"
namespace llvm {
-
-extern Target TheJSBackendTarget;
-
-} // End llvm namespace
+ extern Target PNaClLe32_Target;
+}
#endif
« no previous file with comments | « lib/Target/PNaCl/TargetInfo/Makefile ('k') | lib/Target/PNaCl/TargetInfo/PNaClTargetInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698