Mercurial > hg > truffle
comparison src/share/vm/c1/c1_Compiler.cpp @ 4140:716a2c5c0656
Further reduce diff to HotSpot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 01:01:34 +0100 |
parents | 75a99b4f1c98 |
children | 957c266d8bc5 |
comparison
equal
deleted
inserted
replaced
4139:feb590a8497f | 4140:716a2c5c0656 |
---|---|
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(!UseGraal, "c1 called in UseGraal mode!"); | |
94 // Allocate buffer blob once at startup since allocation for each | 93 // Allocate buffer blob once at startup since allocation for each |
95 // compilation seems to be too expensive (at least on Intel win32). | 94 // compilation seems to be too expensive (at least on Intel win32). |
96 BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob(); | 95 BufferBlob* buffer_blob = CompilerThread::current()->get_buffer_blob(); |
97 if (buffer_blob == NULL) { | 96 if (buffer_blob == NULL) { |
98 buffer_blob = build_buffer_blob(); | 97 buffer_blob = build_buffer_blob(); |