| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index d1243d76e4b0040bf932cdaef8c0f67f08950aeb..222640a8ce73272841370f0aaf4ccbb86eb22c66 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -2394,13 +2394,13 @@ class FunctionCallbackInfo {
|
| protected:
|
| friend class internal::FunctionCallbackArguments;
|
| friend class internal::CustomArguments<FunctionCallbackInfo>;
|
| - static const int kContextSaveIndex = 0;
|
| - static const int kCalleeIndex = -1;
|
| - static const int kDataIndex = -2;
|
| - static const int kReturnValueIndex = -3;
|
| - static const int kReturnValueDefaultValueIndex = -4;
|
| - static const int kIsolateIndex = -5;
|
| - static const int kHolderIndex = -6;
|
| + static const int kHolderIndex = 0;
|
| + static const int kIsolateIndex = 1;
|
| + 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;
|
|
|
| V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args,
|
| internal::Object** values,
|
| @@ -2432,12 +2432,12 @@ class PropertyCallbackInfo {
|
| friend class MacroAssembler;
|
| friend class internal::PropertyCallbackArguments;
|
| friend class internal::CustomArguments<PropertyCallbackInfo>;
|
| - static const int kThisIndex = 0;
|
| - static const int kDataIndex = -1;
|
| - static const int kReturnValueIndex = -2;
|
| - static const int kReturnValueDefaultValueIndex = -3;
|
| - static const int kIsolateIndex = -4;
|
| - static const int kHolderIndex = -5;
|
| + static const int kHolderIndex = 0;
|
| + static const int kIsolateIndex = 1;
|
| + static const int kReturnValueDefaultValueIndex = 2;
|
| + static const int kReturnValueIndex = 3;
|
| + static const int kDataIndex = 4;
|
| + static const int kThisIndex = 5;
|
|
|
| V8_INLINE PropertyCallbackInfo(internal::Object** args) : args_(args) {}
|
| internal::Object** args_;
|
|
|