Revision: 23480
Author: [email protected]
Date: Thu Aug 28 08:47:11 2014 UTC
Log: Fix build.
GCC needs definitions for constant members (clang doesn't).
[email protected]
Review URL: https://codereview.chromium.org/511133002
https://code.google.com/p/v8/source/detail?r=23480
Modified:
/branches/bleeding_edge/test/cctest/compiler/function-tester.h
=======================================
--- /branches/bleeding_edge/test/cctest/compiler/function-tester.h Thu Aug
28 08:39:24 2014 UTC
+++ /branches/bleeding_edge/test/cctest/compiler/function-tester.h Thu Aug
28 08:47:11 2014 UTC
@@ -25,15 +25,14 @@
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);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.