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

Unified Diff: lib/Target/JSBackend/JSTargetMachine.cpp

Issue 1692803002: Remove Emscripten support (Closed) Base URL: https://chromium.googlesource.com/a/native_client/pnacl-llvm.git@master
Patch Set: Created 4 years, 10 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/JSBackend/JSTargetMachine.h ('k') | lib/Target/JSBackend/JSTargetTransformInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/JSBackend/JSTargetMachine.cpp
diff --git a/lib/Target/JSBackend/JSTargetMachine.cpp b/lib/Target/JSBackend/JSTargetMachine.cpp
deleted file mode 100644
index ad3f59946673ede9c7199c3c280092ecfa440a71..0000000000000000000000000000000000000000
--- a/lib/Target/JSBackend/JSTargetMachine.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-//===-- JSTargetMachine.cpp - Define TargetMachine for the JS -------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the JS specific subclass of TargetMachine.
-//
-//===----------------------------------------------------------------------===//
-
-#include "JSTargetMachine.h"
-#include "JSTargetTransformInfo.h"
-#include "llvm/Analysis/TargetTransformInfo.h"
-#include "llvm/Support/TargetRegistry.h"
-using namespace llvm;
-
-JSTargetMachine::JSTargetMachine(const Target &T, StringRef Triple,
- StringRef CPU, StringRef FS, const TargetOptions &Options,
- Reloc::Model RM, CodeModel::Model CM,
- CodeGenOpt::Level OL)
- : TargetMachine(T, "e-p:32:32-i64:64-v128:32:128-n32-S128", Triple, CPU,
- FS, Options) {
- CodeGenInfo = T.createMCCodeGenInfo(Triple, RM, CM, OL);
-}
-
-
-TargetIRAnalysis JSTargetMachine::getTargetIRAnalysis() {
- return TargetIRAnalysis(
- [this](Function &F) { return TargetTransformInfo(JSTTI(this, F)); });
-}
« no previous file with comments | « lib/Target/JSBackend/JSTargetMachine.h ('k') | lib/Target/JSBackend/JSTargetTransformInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698