Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index a2c35f8415cb2d3a99b440c467be54759bf80934..20c9f844c0bb5c76ac1a7c71d3ea718c84744fdb 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3138,7 +3138,6 @@ class FunctionCallbackInfo { |
public: |
V8_INLINE int Length() const; |
V8_INLINE Local<Value> operator[](int i) const; |
- V8_INLINE Local<Function> Callee() const; |
V8_INLINE Local<Object> This() const; |
V8_INLINE Local<Object> Holder() const; |
V8_INLINE bool IsConstructCall() const; |
@@ -3146,7 +3145,7 @@ class FunctionCallbackInfo { |
V8_INLINE Isolate* GetIsolate() const; |
V8_INLINE ReturnValue<T> GetReturnValue() const; |
// This shouldn't be public, but the arm compiler needs it. |
- static const int kArgsLength = 7; |
+ static const int kArgsLength = 6; |
protected: |
friend class internal::FunctionCallbackArguments; |
@@ -3156,8 +3155,7 @@ class FunctionCallbackInfo { |
static const int kReturnValueDefaultValueIndex = 2; |
static const int kReturnValueIndex = 3; |
static const int kDataIndex = 4; |
- static const int kCalleeIndex = 5; |
- static const int kContextSaveIndex = 6; |
+ static const int kContextSaveIndex = 5; |
V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args, |
internal::Object** values, |
@@ -7585,13 +7583,6 @@ Local<Value> FunctionCallbackInfo<T>::operator[](int i) const { |
template<typename T> |
-Local<Function> FunctionCallbackInfo<T>::Callee() const { |
- return Local<Function>(reinterpret_cast<Function*>( |
- &implicit_args_[kCalleeIndex])); |
-} |
- |
- |
-template<typename T> |
Local<Object> FunctionCallbackInfo<T>::This() const { |
return Local<Object>(reinterpret_cast<Object*>(values_ + 1)); |
} |