Mercurial > hg > graal-compiler
annotate graal/com.oracle.truffle.api.codegen.test/src/com/oracle/truffle/api/codegen/test/package-info.java @ 9596:aa8f3fc0a9a9
removed infrastructure for Graal assembler stubs (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 07 May 2013 01:58:11 +0200 |
parents | 6ef9fc7375c7 |
children | 3cc5fb59916e |
rev | line source |
---|---|
8238
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
1 /* |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
2 * Copyright (c) 2012, 2012, Oracle and/or its affiliates. All rights reserved. |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
4 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
8 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
13 * accompanied this code). |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
14 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
18 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
21 * questions. |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
22 */ |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
23 /** |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
24 * <p>This package contains basic tests of the Truffle-Source-Code-Generation (short Codegen) API and serves at the same |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
25 * time as an introduction to the Codegen API for language implementors. Every test gives an example on how to use the construct explained in the class description.</p> |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
26 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
27 * <p> |
8259
65f03d5f98a1
Cleanup project dependencies.
Christian Humer <christian.humer@gmail.com>
parents:
8249
diff
changeset
|
28 * This API relies heavily on the concepts described in com.oracle.truffle.api.test. We assume that the |
8238
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
29 * reader is already familiarized with those concepts. |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
30 * </p> |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
31 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
32 * <p> |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
33 * TODO general description |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
34 * </p> |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
35 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
36 * <p> |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
37 * This introduction to Codegen contains items in the following recommended order: |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
38 * |
8245
703c09f8640c
Implemented support for @NodeClass annotation to support builtins.
Christian Humer <christian.humer@gmail.com>
parents:
8238
diff
changeset
|
39 * Prerequisites: |
703c09f8640c
Implemented support for @NodeClass annotation to support builtins.
Christian Humer <christian.humer@gmail.com>
parents:
8238
diff
changeset
|
40 * |
703c09f8640c
Implemented support for @NodeClass annotation to support builtins.
Christian Humer <christian.humer@gmail.com>
parents:
8238
diff
changeset
|
41 * |
8238
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
42 * <ul> |
8249
aad7e9f4f71c
A few additions to codegen tests.
Christian Humer <christian.humer@gmail.com>
parents:
8245
diff
changeset
|
43 * <li>What do I need to get started? {@link com.oracle.truffle.api.codegen.test.TypeSystemTest}</li> |
8596
6ef9fc7375c7
Updated codegen tests for guards and builtins.
Christian Humer <christian.humer@gmail.com>
parents:
8259
diff
changeset
|
44 * <li>How would you generate function nodes for runtime objects? {@link com.oracle.truffle.api.codegen.test.BuiltinTest}</li> |
8238
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
45 * </ul> |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
46 * </p> |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
47 * |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
48 */ |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
49 package com.oracle.truffle.api.codegen.test; |
0b48dc5f37c3
Added truffle.api.codegen.test project with a BultinFunctionTest.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
50 |