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

Unified Diff: src/builtins.h

Issue 864273002: Call directly to c callbacks in Invoke instead of transitioning to js and back out. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index a872c7f4222bec23b3f0e41b33519ce49ef3a8ea..2e3d331d95de47a8f4027252392736eb59deeed7 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -277,6 +277,10 @@ class Builtins {
bool is_initialized() const { return initialized_; }
+ MUST_USE_RESULT static MaybeHandle<Object> InvokeApiFunction(
+ Handle<JSFunction> function, Handle<Object> receiver, int argc,
+ Handle<Object> args[]);
+
private:
Builtins();
« no previous file with comments | « no previous file | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698