mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Back out bug 712939 for not getting fully reviewed.
This commit is contained in:
parent
29702b130e
commit
57d072a733
@ -70,8 +70,7 @@ namespace mozilla {
|
||||
namespace plugins {
|
||||
namespace parent {
|
||||
|
||||
static_assert(sizeof(NPIdentifier) == sizeof(jsid),
|
||||
"NPIdentifier must be binary compatible with jsid.");
|
||||
JS_STATIC_ASSERT(sizeof(NPIdentifier) == sizeof(jsid));
|
||||
|
||||
inline jsid
|
||||
NPIdentifierToJSId(NPIdentifier id)
|
||||
|
@ -382,8 +382,7 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
static_assert(sizeof(mStack[0]) == sizeof(js::ProfileEntry),
|
||||
"mStack must be binary compatible with js::ProfileEntry.");
|
||||
JS_STATIC_ASSERT(sizeof(mStack[0]) == sizeof(js::ProfileEntry));
|
||||
js::SetRuntimeProfilingStack(runtime,
|
||||
(js::ProfileEntry*) mStack,
|
||||
(uint32_t*) &mStackPointer,
|
||||
|
@ -549,8 +549,7 @@ CycleCollectedJSRuntime::DescribeGCThing(bool aIsMarked, void* aThing,
|
||||
"BaseShape",
|
||||
"TypeObject",
|
||||
};
|
||||
static_assert(MOZ_ARRAY_LENGTH(trace_types) == JSTRACE_LAST + 1,
|
||||
"Length of trace_types should match the number of cases of JSGCTraceKind.");
|
||||
JS_STATIC_ASSERT(MOZ_ARRAY_LENGTH(trace_types) == JSTRACE_LAST + 1);
|
||||
JS_snprintf(name, sizeof(name), "JS %s", trace_types[aTraceKind]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user