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

Side by Side Diff: include/v8-experimental.h

Issue 1620293002: Add native callbacks to FastAccessorAssembler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: clean-up parameter handling Created 4 years, 10 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
« no previous file with comments | « no previous file | src/api-experimental.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * This header contains a set of experimental V8 APIs. We hope these will 6 * This header contains a set of experimental V8 APIs. We hope these will
7 * become a part of standard V8, but they may also be removed if we deem the 7 * become a part of standard V8, but they may also be removed if we deem the
8 * experiment to not be successul. 8 * experiment to not be successul.
9 */ 9 */
10 #ifndef V8_INCLUDE_V8_EXPERIMENTAL_H_ 10 #ifndef V8_INCLUDE_V8_EXPERIMENTAL_H_
(...skipping 21 matching lines...) Expand all
32 ValueId GetReceiver(); 32 ValueId GetReceiver();
33 ValueId LoadInternalField(ValueId value_id, int field_no); 33 ValueId LoadInternalField(ValueId value_id, int field_no);
34 ValueId LoadValue(ValueId value_id, int offset); 34 ValueId LoadValue(ValueId value_id, int offset);
35 ValueId LoadObject(ValueId value_id, int offset); 35 ValueId LoadObject(ValueId value_id, int offset);
36 void ReturnValue(ValueId value_id); 36 void ReturnValue(ValueId value_id);
37 void CheckFlagSetOrReturnNull(ValueId value_id, int mask); 37 void CheckFlagSetOrReturnNull(ValueId value_id, int mask);
38 void CheckNotZeroOrReturnNull(ValueId value_id); 38 void CheckNotZeroOrReturnNull(ValueId value_id);
39 LabelId MakeLabel(); 39 LabelId MakeLabel();
40 void SetLabel(LabelId label_id); 40 void SetLabel(LabelId label_id);
41 void CheckNotZeroOrJump(ValueId value_id, LabelId label_id); 41 void CheckNotZeroOrJump(ValueId value_id, LabelId label_id);
42 ValueId Call(v8::FunctionCallback callback, ValueId value_id);
42 43
43 private: 44 private:
44 FastAccessorBuilder() = delete; 45 FastAccessorBuilder() = delete;
45 FastAccessorBuilder(const FastAccessorBuilder&) = delete; 46 FastAccessorBuilder(const FastAccessorBuilder&) = delete;
46 ~FastAccessorBuilder() = delete; 47 ~FastAccessorBuilder() = delete;
47 void operator=(const FastAccessorBuilder&) = delete; 48 void operator=(const FastAccessorBuilder&) = delete;
48 }; 49 };
49 50
50 } // namespace experimental 51 } // namespace experimental
51 } // namespace v8 52 } // namespace v8
52 53
53 #endif // V8_INCLUDE_V8_EXPERIMENTAL_H_ 54 #endif // V8_INCLUDE_V8_EXPERIMENTAL_H_
OLDNEW
« no previous file with comments | « no previous file | src/api-experimental.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698