OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20100423-1_0.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-lto-do assemble }
2
// { dg-lto-options {{-g -flto}} }
3
 
4
namespace llvm
5
{
6
  class Function;
7
  class MachineCodeInfo;
8
  class ExecutionEngine
9
    {
10
    };
11
  class JIT : public ExecutionEngine
12
  {
13
    void runJITOnFunction (Function * F, MachineCodeInfo * MCI = 0);
14
  };
15
  class JITEventListener
16
    {
17
    public:
18
      JITEventListener ()
19
        {
20
        }
21
      virtual ~JITEventListener ();
22
    };
23
}
24
 
25
using namespace llvm;
26
void
27
JIT::runJITOnFunction (Function * F, MachineCodeInfo * MCI)
28
{
29
  class MCIListener:public JITEventListener
30
  {
31
    MachineCodeInfo *const MCI;
32
  public:
33
    MCIListener (MachineCodeInfo * mci):MCI (mci)
34
         {
35
         }
36
  };
37
}
38
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.