Reviewers: Michael Starzinger,
Message:
Committed patchset #1 manually as 23480 (tree was closed).
Description:
Fix build.
GCC needs definitions for constant members (clang doesn't).
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=23480
Please review this at https://codereview.chromium.org/511133002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -3 lines):
M test/cctest/compiler/function-tester.h
Index: test/cctest/compiler/function-tester.h
diff --git a/test/cctest/compiler/function-tester.h
b/test/cctest/compiler/function-tester.h
index
f2b763cfab3ba472a7fb3f1a722b209275c05fd0..afed296356e91a1fad5af686189871039cd64df7
100644
--- a/test/cctest/compiler/function-tester.h
+++ b/test/cctest/compiler/function-tester.h
@@ -25,15 +25,14 @@ namespace internal {
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.