[Webkit-unassigned] [Bug 33902] New: Opcode.h use const void* for Opcode cause error #1211 for RVCT compiler
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 20 07:24:03 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33902
Summary: Opcode.h use const void* for Opcode cause error #1211
for RVCT compiler
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: lyon.chen at torchmobile.com
CC: ggaren at apple.com
In commit r52231, Opcode is changed from void* to const void* when
COMPUTED_GOTO is used, this caused a compiling error #1211 for RVCT 4.0
compilers.
Suggest to change to:
--- a/JavaScriptCore/bytecode/Opcode.h
+++ b/JavaScriptCore/bytecode/Opcode.h
@@ -196,7 +196,11 @@
#undef VERIFY_OPCODE_ID
#if HAVE(COMPUTED_GOTO)
+#if COMPILER(RVCT)
+ typedef void* Opcode;
+#else
typedef const void* Opcode;
+#endif
#else
typedef OpcodeID Opcode;
#endif
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list