~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to vm_opts.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
  vm_opts.h - VM optimize option
5
5
 
6
6
  $Author: ko1 $
7
 
  $Date: 2007-05-21 13:46:51 +0900 (月, 21  5月 2007) $
 
7
  $Date: 2007-08-19 13:16:13 +0900 (日, 19  8月 2007) $
8
8
 
9
9
  Copyright (C) 2004-2006 Koichi Sasada
10
10
 
14
14
#ifndef VM_OPTS_H_INCLUDED
15
15
#define VM_OPTS_H_INCLUDED
16
16
 
 
17
/* Compile options.
 
18
 * You can change these options at runtime by VM::CompileOption.
 
19
 * Following definitions are default values.
 
20
 */
 
21
 
 
22
#define OPT_TRACE_INSTRUCTION        0
 
23
#define OPT_TAILCALL_OPTIMIZATION    0
 
24
#define OPT_PEEPHOLE_OPTIMIZATION    1
 
25
#define OPT_SPECIALISED_INSTRUCTION  1
 
26
#define OPT_INLINE_CONST_CACHE       1
 
27
 
 
28
 
 
29
/* Build Options.
 
30
 * You can't change these options at runtime.
 
31
 */
 
32
 
17
33
/* C compiler depend */
18
34
#define OPT_DIRECT_THREADED_CODE     1
19
35
#define OPT_CALL_THREADED_CODE       0
20
36
 
21
 
/* architecture independent */
22
 
 
23
37
/* VM running option */
24
38
#define OPT_CHECKED_RUN              1
25
 
#define OPT_TRACE_INSTRUCTION        0 /* default value */
26
 
 
27
 
/* at compile */
28
 
#define OPT_INLINE_CONST_CACHE       1
29
 
#define OPT_TAILCALL_OPTIMIZATION    0 /* default value */
30
 
#define OPT_PEEPHOLE_OPTIMIZATION    1
31
 
#define OPT_SPECIALISED_INSTRUCTION  1
32
 
 
33
 
/* at runtime */
34
39
#define OPT_INLINE_METHOD_CACHE      1
35
40
#define OPT_BLOCKINLINING            0
36
41
 
37
42
/* architecture independent, affects generated code */
38
43
#define OPT_OPERANDS_UNIFICATION     0
39
44
#define OPT_INSTRUCTIONS_UNIFICATION 0
40
 
 
41
 
/* code generation parameter */
42
45
#define OPT_UNIFY_ALL_COMBINATION    0
43
46
#define OPT_STACK_CACHING            0
44
47