Mercurial > hg > truffle
comparison src/share/vm/c1x/c1x_Compiler.cpp @ 2215:999f8086cc4f
More changes to make it compile and work on win64.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Mon, 21 Feb 2011 20:44:57 +0100 |
parents | 9569fdf936ff |
children | 569d3fe7d65c |
comparison
equal
deleted
inserted
replaced
2214:30fd69882184 | 2215:999f8086cc4f |
---|---|
66 VM_ENTRY_MARK; | 66 VM_ENTRY_MARK; |
67 HandleMark hm; | 67 HandleMark hm; |
68 for (int i = 0; i < Arguments::num_c1x_args(); ++i) { | 68 for (int i = 0; i < Arguments::num_c1x_args(); ++i) { |
69 const char* arg = Arguments::c1x_args_array()[i]; | 69 const char* arg = Arguments::c1x_args_array()[i]; |
70 Handle option = java_lang_String::create_from_str(arg, THREAD); | 70 Handle option = java_lang_String::create_from_str(arg, THREAD); |
71 bool result = VMExits::setOption(option); | 71 jboolean result = VMExits::setOption(option); |
72 if (!result) fatal("Invalid option for C1X!"); | 72 if (!result) fatal("Invalid option for C1X!"); |
73 } | 73 } |
74 } | 74 } |
75 } | 75 } |
76 | 76 |
196 case '-': return T_ILLEGAL; | 196 case '-': return T_ILLEGAL; |
197 default: | 197 default: |
198 fatal(err_msg("unexpected CiKind: %c", ch)); | 198 fatal(err_msg("unexpected CiKind: %c", ch)); |
199 break; | 199 break; |
200 } | 200 } |
201 } | 201 return T_ILLEGAL; |
202 | 202 } |
203 |