Fix trivial error when building with clang.
$ ninja -C out/Debug ... ../../src/d8.cc:171:11: error: unused variable 'MB' [-Werror,-Wunused-const-variable] const int MB = 1024 * 1024; ^ 1 error generated. R=titzer@chromium.org, svenpanne@chromium.org Review URL: https://codereview.chromium.org/105833008 Patch from Thiago Farina <tfarina@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18276 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
cd5ea74700
commit
ab03fd5022
@ -168,10 +168,9 @@ ShellOptions Shell::options;
|
||||
const char* Shell::kPrompt = "d8> ";
|
||||
|
||||
|
||||
#ifndef V8_SHARED
|
||||
const int MB = 1024 * 1024;
|
||||
|
||||
|
||||
#ifndef V8_SHARED
|
||||
bool CounterMap::Match(void* key1, void* key2) {
|
||||
const char* name1 = reinterpret_cast<const char*>(key1);
|
||||
const char* name2 = reinterpret_cast<const char*>(key2);
|
||||
|
Loading…
Reference in New Issue
Block a user