GCC needs definitions for constant members (clang doesn't).
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
511133002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23480
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
namespace compiler {
class FunctionTester : public InitializedHandleScope {
- const uint32_t supported_flags =
- CompilationInfo::kContextSpecializing | CompilationInfo::kInliningEnabled;
-
public:
explicit FunctionTester(const char* source, uint32_t flags = 0)
: isolate(main_isolate()),
function((FLAG_allow_natives_syntax = true, NewFunction(source))),
flags_(flags) {
Compile(function);
+ const uint32_t supported_flags = CompilationInfo::kContextSpecializing |
+ CompilationInfo::kInliningEnabled;
CHECK_EQ(0, flags_ & ~supported_flags);
}