Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 9583:c382fa74b1ee
remove basicTypes and basicTypeCount
author | twisti |
---|---|
date | Mon, 06 May 2013 14:17:11 -0700 |
parents | 7df076e74e8e |
children | 4172233f32fd |
comparison
equal
deleted
inserted
replaced
9582:7df076e74e8e | 9583:c382fa74b1ee |
---|---|
613 if (id == NULL) { | 613 if (id == NULL) { |
614 fatal(err_msg("field not found: %s (%s)", name, sig)); | 614 fatal(err_msg("field not found: %s (%s)", name, sig)); |
615 } | 615 } |
616 return id; | 616 return id; |
617 } | 617 } |
618 | |
619 BasicType basicTypes[] = { T_BOOLEAN, T_BYTE, T_SHORT, T_CHAR, T_INT, T_FLOAT, T_LONG, T_DOUBLE, T_OBJECT }; | |
620 int basicTypeCount = sizeof(basicTypes) / sizeof(BasicType); | |
621 | 618 |
622 C2V_ENTRY(void, initializeConfiguration, (JNIEnv *env, jobject, jobject config)) | 619 C2V_ENTRY(void, initializeConfiguration, (JNIEnv *env, jobject, jobject config)) |
623 | 620 |
624 #define set_boolean(name, value) do { env->SetBooleanField(config, getFieldID(env, config, name, "Z"), value); } while (0) | 621 #define set_boolean(name, value) do { env->SetBooleanField(config, getFieldID(env, config, name, "Z"), value); } while (0) |
625 #define set_int(name, value) do { env->SetIntField(config, getFieldID(env, config, name, "I"), value); } while (0) | 622 #define set_int(name, value) do { env->SetIntField(config, getFieldID(env, config, name, "I"), value); } while (0) |