Commit 5838d032 authored by jochen@chromium.org's avatar jochen@chromium.org

Remove V8_INLINE to prevent C4714 warning under Win64.

BUG=
R=jochen@chromium.org

Review URL: https://codereview.chromium.org/217123004

Patch from Daniel Vogelheim <vogelheim@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20412 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent aaf18129
...@@ -210,7 +210,7 @@ class PersistentValueMap { ...@@ -210,7 +210,7 @@ class PersistentValueMap {
/** /**
* Return value for key and remove it from the map. * Return value for key and remove it from the map.
*/ */
V8_INLINE UniquePersistent<V> Remove(const K& key) { UniquePersistent<V> Remove(const K& key) {
return Release(Traits::Remove(&impl_, key)).Pass(); return Release(Traits::Remove(&impl_, key)).Pass();
} }
...@@ -357,7 +357,7 @@ class PersistentValueMap { ...@@ -357,7 +357,7 @@ class PersistentValueMap {
* callback is properly disposed of. All remove functionality should go * callback is properly disposed of. All remove functionality should go
* through this. * through this.
*/ */
V8_INLINE static UniquePersistent<V> Release(PersistentContainerValue v) { static UniquePersistent<V> Release(PersistentContainerValue v) {
UniquePersistent<V> p; UniquePersistent<V> p;
p.val_ = FromVal(v); p.val_ = FromVal(v);
if (Traits::kCallbackType != kNotWeak && !p.IsEmpty()) { if (Traits::kCallbackType != kNotWeak && !p.IsEmpty()) {
......
...@@ -814,7 +814,7 @@ class UniquePersistent : public PersistentBase<T> { ...@@ -814,7 +814,7 @@ class UniquePersistent : public PersistentBase<T> {
/** /**
* Pass allows returning uniques from functions, etc. * Pass allows returning uniques from functions, etc.
*/ */
V8_INLINE UniquePersistent Pass() { return UniquePersistent(RValue(this)); } UniquePersistent Pass() { return UniquePersistent(RValue(this)); }
private: private:
UniquePersistent(UniquePersistent&); UniquePersistent(UniquePersistent&);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment