Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 9585:404eb9b2c511
use os.name property to identify Windows OS
author | twisti |
---|---|
date | Mon, 06 May 2013 16:52:12 -0700 |
parents | 4172233f32fd |
children | ffbb0a365039 |
comparison
equal
deleted
inserted
replaced
9584:4172233f32fd | 9585:404eb9b2c511 |
---|---|
641 #define set_address(name, value) do { set_long(name, (jlong) value); } while (0) | 641 #define set_address(name, value) do { set_long(name, (jlong) value); } while (0) |
642 #define set_object(name, value) do { env->SetObjectField(config, getFieldID(env, config, name, "Ljava/lang/Object;"), value); } while (0) | 642 #define set_object(name, value) do { env->SetObjectField(config, getFieldID(env, config, name, "Ljava/lang/Object;"), value); } while (0) |
643 #define set_int_array(name, value) do { env->SetObjectField(config, getFieldID(env, config, name, "[I"), value); } while (0) | 643 #define set_int_array(name, value) do { env->SetObjectField(config, getFieldID(env, config, name, "[I"), value); } while (0) |
644 | 644 |
645 guarantee(HeapWordSize == sizeof(char*), "Graal assumption that HeadWordSize == machine word size is wrong"); | 645 guarantee(HeapWordSize == sizeof(char*), "Graal assumption that HeadWordSize == machine word size is wrong"); |
646 #ifdef _WIN64 | 646 |
647 set_boolean("windowsOs", true); | |
648 #else | |
649 set_boolean("windowsOs", false); | |
650 #endif | |
651 set_boolean("cAssertions", DEBUG_ONLY(true) NOT_DEBUG(false)); | 647 set_boolean("cAssertions", DEBUG_ONLY(true) NOT_DEBUG(false)); |
652 set_boolean("verifyOops", VerifyOops); | 648 set_boolean("verifyOops", VerifyOops); |
653 set_boolean("ciTime", CITime); | 649 set_boolean("ciTime", CITime); |
654 set_boolean("compileTheWorld", CompileTheWorld); | 650 set_boolean("compileTheWorld", CompileTheWorld); |
655 set_int("compileTheWorldStartAt", CompileTheWorldStartAt); | 651 set_int("compileTheWorldStartAt", CompileTheWorldStartAt); |