summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/b3
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/b3')
-rw-r--r--Source/JavaScriptCore/b3/B3ValueInlines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/b3/B3ValueInlines.h b/Source/JavaScriptCore/b3/B3ValueInlines.h
index 86cb8f6ad..d38cc44e2 100644
--- a/Source/JavaScriptCore/b3/B3ValueInlines.h
+++ b/Source/JavaScriptCore/b3/B3ValueInlines.h
@@ -42,7 +42,7 @@
namespace JSC { namespace B3 {
template<typename T>
-T* Value::as()
+inline T* Value::as()
{
if (T::accepts(opcode()))
return static_cast<T*>(this);
@@ -50,7 +50,7 @@ T* Value::as()
}
template<typename T>
-const T* Value::as() const
+inline const T* Value::as() const
{
return const_cast<Value*>(this)->as<T>();
}