| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2403 V8_INLINE(Local<Object> Holder() const); | 2403 V8_INLINE(Local<Object> Holder() const); |
| 2404 V8_INLINE(ReturnValue<T> GetReturnValue() const); | 2404 V8_INLINE(ReturnValue<T> GetReturnValue() const); |
| 2405 // This shouldn't be public, but the arm compiler needs it. | 2405 // This shouldn't be public, but the arm compiler needs it. |
| 2406 static const int kArgsLength = 6; | 2406 static const int kArgsLength = 6; |
| 2407 | 2407 |
| 2408 protected: | 2408 protected: |
| 2409 friend class MacroAssembler; | 2409 friend class MacroAssembler; |
| 2410 friend class internal::PropertyCallbackArguments; | 2410 friend class internal::PropertyCallbackArguments; |
| 2411 friend class internal::CustomArguments<PropertyCallbackInfo>; | 2411 friend class internal::CustomArguments<PropertyCallbackInfo>; |
| 2412 static const int kThisIndex = 0; | 2412 static const int kThisIndex = 0; |
| 2413 static const int kHolderIndex = -1; | 2413 static const int kDataIndex = -1; |
| 2414 static const int kDataIndex = -2; | 2414 static const int kReturnValueIndex = -2; |
| 2415 static const int kReturnValueIndex = -3; | 2415 static const int kReturnValueDefaultValueIndex = -3; |
| 2416 static const int kReturnValueDefaultValueIndex = -4; | 2416 static const int kIsolateIndex = -4; |
| 2417 static const int kIsolateIndex = -5; | 2417 static const int kHolderIndex = -5; |
| 2418 | 2418 |
| 2419 V8_INLINE(PropertyCallbackInfo(internal::Object** args)) | 2419 V8_INLINE(PropertyCallbackInfo(internal::Object** args)) |
| 2420 : args_(args) { } | 2420 : args_(args) { } |
| 2421 internal::Object** args_; | 2421 internal::Object** args_; |
| 2422 }; | 2422 }; |
| 2423 | 2423 |
| 2424 | 2424 |
| 2425 typedef void (*FunctionCallback)(const FunctionCallbackInfo<Value>& info); | 2425 typedef void (*FunctionCallback)(const FunctionCallbackInfo<Value>& info); |
| 2426 | 2426 |
| 2427 | 2427 |
| (...skipping 4023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6451 */ | 6451 */ |
| 6452 | 6452 |
| 6453 | 6453 |
| 6454 } // namespace v8 | 6454 } // namespace v8 |
| 6455 | 6455 |
| 6456 | 6456 |
| 6457 #undef TYPE_CHECK | 6457 #undef TYPE_CHECK |
| 6458 | 6458 |
| 6459 | 6459 |
| 6460 #endif // V8_H_ | 6460 #endif // V8_H_ |
| OLD | NEW |