mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 886205 (part 1) - Move some function definitions from gc/Barrier-inl.h to gc/Barrier.h. r=terrence.
--HG-- extra : rebase_source : d6eeb4f6273c36069a8bbb28033737c2aec40ba0
This commit is contained in:
parent
4f03e5bb1a
commit
01313ebd4b
@ -56,20 +56,6 @@ EncapsulatedValue::~EncapsulatedValue()
|
||||
pre();
|
||||
}
|
||||
|
||||
inline void
|
||||
EncapsulatedValue::init(const Value &v)
|
||||
{
|
||||
JS_ASSERT(!IsPoisonedValue(v));
|
||||
value = v;
|
||||
}
|
||||
|
||||
inline void
|
||||
EncapsulatedValue::init(JSRuntime *rt, const Value &v)
|
||||
{
|
||||
JS_ASSERT(!IsPoisonedValue(v));
|
||||
value = v;
|
||||
}
|
||||
|
||||
inline EncapsulatedValue &
|
||||
EncapsulatedValue::operator=(const Value &v)
|
||||
{
|
||||
|
@ -384,8 +384,14 @@ class EncapsulatedValue : public ValueOperations<EncapsulatedValue>
|
||||
}
|
||||
inline ~EncapsulatedValue();
|
||||
|
||||
inline void init(const Value &v);
|
||||
inline void init(JSRuntime *rt, const Value &v);
|
||||
void init(const Value &v) {
|
||||
JS_ASSERT(!IsPoisonedValue(v));
|
||||
value = v;
|
||||
}
|
||||
void init(JSRuntime *rt, const Value &v) {
|
||||
JS_ASSERT(!IsPoisonedValue(v));
|
||||
value = v;
|
||||
}
|
||||
|
||||
inline EncapsulatedValue &operator=(const Value &v);
|
||||
inline EncapsulatedValue &operator=(const EncapsulatedValue &v);
|
||||
|
Loading…
Reference in New Issue
Block a user