Added missing static to returned buffer.
Review URL: http://codereview.chromium.org/3096 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@323 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
45847bd125
commit
abeb614287
@ -1063,7 +1063,7 @@ static const char* xmm_regs[8] = {
|
||||
|
||||
|
||||
const char* NameConverter::NameOfAddress(byte* addr) const {
|
||||
v8::internal::EmbeddedVector<char, 32> tmp_buffer;
|
||||
static v8::internal::EmbeddedVector<char, 32> tmp_buffer;
|
||||
v8::internal::OS::SNPrintF(tmp_buffer, "%p", addr);
|
||||
return tmp_buffer.start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user