/*
- * Copyright (C) 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2008, 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Register(const JSValue&);
Register& operator=(const JSValue&);
JSValue jsValue() const;
-
- bool marked() const;
- void mark();
Register& operator=(JSActivation*);
Register& operator=(CallFrame*);
ALWAYS_INLINE Register::Register(const JSValue& v)
{
+#if ENABLE(JSC_ZOMBIES)
+ ASSERT(!v.isZombie());
+#endif
u.value = JSValue::encode(v);
}
{
return JSValue::decode(u.value);
}
-
- ALWAYS_INLINE bool Register::marked() const
- {
- return jsValue().marked();
- }
- ALWAYS_INLINE void Register::mark()
- {
- jsValue().mark();
- }
-
// Interpreter functions
ALWAYS_INLINE Register& Register::operator=(JSActivation* activation)