| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index ceb57c0abd3cafc1d228da2d8efbd72ee324d02f..4d99d151522b98b22d8d10fc2ec5e2f0b77e7798 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -2457,9 +2457,6 @@
|
| V8_INLINE void SetEmptyString();
|
| // Convenience getter for Isolate
|
| V8_INLINE Isolate* GetIsolate();
|
| -
|
| - // Pointer setter: Uncompilable to prevent inadvertent misuse.
|
| - void Set(void* whatever);
|
|
|
| private:
|
| template<class F> friend class ReturnValue;
|
| @@ -5984,12 +5981,6 @@
|
| }
|
|
|
| template<typename T>
|
| -void ReturnValue<T>::Set(void* whatever) {
|
| - // Uncompilable to prevent inadvertent misuse.
|
| - TYPE_CHECK(void*, Primitive);
|
| -}
|
| -
|
| -template<typename T>
|
| internal::Object* ReturnValue<T>::GetDefaultValue() {
|
| // Default value is always the pointer below value_ on the stack.
|
| return value_[-1];
|
|
|