summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/b3
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2017-04-06 10:05:55 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2017-04-07 18:17:58 +0000
commit928cd15d3d3ab82734f49eb9d694faf59c3a0c6d (patch)
treeb4ccd30048fc23f59c8f156d6a0d1060b7121f16 /Source/JavaScriptCore/b3
parentbe770ca621f6463339b7d15be088e1b9acd851e5 (diff)
downloadqtwebkit-928cd15d3d3ab82734f49eb9d694faf59c3a0c6d.tar.gz
Import WebKit commit 342c7c7c069db3ca1d09ae6c5f7d600f9b241778
Change-Id: I8886595114569f61168aed76b23ad7288c5cb34c Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
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>();
}