Commit fd2d480f authored by ulan@chromium.org's avatar ulan@chromium.org

Rename static methods to avoid shadowing virtual methods

and fix Clang C++11 compile error.

Review URL: https://chromiumcodereview.appspot.com/9420049

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10739 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 9e877285
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
}], }],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
'-Wnon-virtual-dtor' ], '-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
}], }],
], ],
}, # Debug }, # Debug
......
This diff is collapsed.
...@@ -1011,7 +1011,7 @@ class Smi: public Object { ...@@ -1011,7 +1011,7 @@ class Smi: public Object {
void SmiVerify(); void SmiVerify();
#endif #endif
static const int kMinValue = (-1 << (kSmiValueSize - 1)); static const int kMinValue = (-1U << (kSmiValueSize - 1));
static const int kMaxValue = -(kMinValue + 1); static const int kMaxValue = -(kMinValue + 1);
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment