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

Unified Diff: src/execution.h

Issue 1423723002: Map v8::Function to JSReceiver + IsCallable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index 0b603ee5a9212cf7c20c0883fa110e0551696e1c..42c8140eac2cbf5a3b22fc85dc79608b6a68ea05 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -47,7 +47,7 @@ class Execution final : public AllStatic {
// that occurred (if caught exception is true).
// In the exception case, exception_out holds the caught exceptions, unless
// it is a termination exception.
- static MaybeHandle<Object> TryCall(Handle<JSFunction> func,
+ static MaybeHandle<Object> TryCall(Isolate* isolate, Handle<Object> func,
rossberg 2015/10/23 10:45:44 Nit: rename param to `callable`, like above.
Handle<Object> receiver, int argc,
Handle<Object> argv[],
MaybeHandle<Object>* exception_out = NULL);

Powered by Google App Engine
This is Rietveld 408576698