Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Side by Side Diff: include/v8.h

Issue 23461039: add context save for GenerateFastApiCall (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: arm Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arguments.h » ('j') | src/ia32/stub-cache-ia32.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2357 V8_INLINE int Length() const; 2357 V8_INLINE int Length() const;
2358 V8_INLINE Local<Value> operator[](int i) const; 2358 V8_INLINE Local<Value> operator[](int i) const;
2359 V8_INLINE Local<Function> Callee() const; 2359 V8_INLINE Local<Function> Callee() const;
2360 V8_INLINE Local<Object> This() const; 2360 V8_INLINE Local<Object> This() const;
2361 V8_INLINE Local<Object> Holder() const; 2361 V8_INLINE Local<Object> Holder() const;
2362 V8_INLINE bool IsConstructCall() const; 2362 V8_INLINE bool IsConstructCall() const;
2363 V8_INLINE Local<Value> Data() const; 2363 V8_INLINE Local<Value> Data() const;
2364 V8_INLINE Isolate* GetIsolate() const; 2364 V8_INLINE Isolate* GetIsolate() const;
2365 V8_INLINE ReturnValue<T> GetReturnValue() const; 2365 V8_INLINE ReturnValue<T> GetReturnValue() const;
2366 // This shouldn't be public, but the arm compiler needs it. 2366 // This shouldn't be public, but the arm compiler needs it.
2367 static const int kArgsLength = 6; 2367 static const int kArgsLength = 7;
2368 2368
2369 protected: 2369 protected:
2370 friend class internal::FunctionCallbackArguments; 2370 friend class internal::FunctionCallbackArguments;
2371 friend class internal::CustomArguments<FunctionCallbackInfo>; 2371 friend class internal::CustomArguments<FunctionCallbackInfo>;
2372 static const int kReturnValueIndex = 0; 2372 static const int kReturnValueIndex = 0;
2373 static const int kReturnValueDefaultValueIndex = -1; 2373 static const int kReturnValueDefaultValueIndex = -1;
2374 static const int kIsolateIndex = -2; 2374 static const int kIsolateIndex = -2;
2375 static const int kDataIndex = -3; 2375 static const int kDataIndex = -3;
2376 static const int kCalleeIndex = -4; 2376 static const int kCalleeIndex = -4;
2377 static const int kHolderIndex = -5; 2377 static const int kHolderIndex = -5;
2378 static const int kContextSaveIndex = -6;
2378 2379
2379 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args, 2380 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args,
2380 internal::Object** values, 2381 internal::Object** values,
2381 int length, 2382 int length,
2382 bool is_construct_call); 2383 bool is_construct_call);
2383 internal::Object** implicit_args_; 2384 internal::Object** implicit_args_;
2384 internal::Object** values_; 2385 internal::Object** values_;
2385 int length_; 2386 int length_;
2386 bool is_construct_call_; 2387 bool is_construct_call_;
2387 }; 2388 };
(...skipping 4043 matching lines...) Expand 10 before | Expand all | Expand 10 after
6431 */ 6432 */
6432 6433
6433 6434
6434 } // namespace v8 6435 } // namespace v8
6435 6436
6436 6437
6437 #undef TYPE_CHECK 6438 #undef TYPE_CHECK
6438 6439
6439 6440
6440 #endif // V8_H_ 6441 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/arguments.h » ('j') | src/ia32/stub-cache-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698