Mercurial > hg > truffle
comparison src/share/vm/c1/c1_Compiler.cpp @ 2891:75a99b4f1c98
Rebranded C++ part from C1X to Graal.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 08 Jun 2011 14:01:51 +0200 |
parents | 06f017f7daa7 |
children | 716a2c5c0656 |
comparison
equal
deleted
inserted
replaced
2890:c23d45daff9b | 2891:75a99b4f1c98 |
---|---|
88 return blob; | 88 return blob; |
89 } | 89 } |
90 | 90 |
91 | 91 |
92 void Compiler::compile_method(ciEnv* env, ciMethod* method, int entry_bci) { | 92 void Compiler::compile_method(ciEnv* env, ciMethod* method, int entry_bci) { |
93 assert(!UseC1X, "c1 called in UseC1X mode!"); | 93 assert(!UseGraal, "c1 called in UseGraal mode!"); |
94 // Allocate buffer blob once at startup since allocation for each | 94 // Allocate buffer blob once at startup since allocation for each |
95 // compilation seems to be too expensive (at least on Intel win32). | 95 // compilation seems to be too expensive (at least on Intel win32). |
96 BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob(); | 96 BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob(); |
97 if (buffer_blob == NULL) { | 97 if (buffer_blob == NULL) { |
98 buffer_blob = build_buffer_blob(); | 98 buffer_blob = build_buffer_blob(); |