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

Unified Diff: src/api-experimental.cc

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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8-experimental.h ('k') | src/compiler/fast-accessor-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api-experimental.cc
diff --git a/src/api-experimental.cc b/src/api-experimental.cc
index 2b49e9723a57458737561c1c26c9a3621b4639c3..9b3ce2c815aadac6aeeea0021e5905c5193458c1 100644
--- a/src/api-experimental.cc
+++ b/src/api-experimental.cc
@@ -122,5 +122,11 @@ void FastAccessorBuilder::CheckNotZeroOrJump(ValueId value_id,
FromApi(this)->CheckNotZeroOrJump(value_id, label_id);
}
+
+FastAccessorBuilder::ValueId FastAccessorBuilder::Call(
+ v8::FunctionCallback callback, ValueId value_id) {
+ return FromApi(this)->Call(callback, value_id);
+}
+
} // namespace experimental
} // namespace v8
« no previous file with comments | « include/v8-experimental.h ('k') | src/compiler/fast-accessor-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698