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

Unified Diff: src/execution.h

Issue 1353723002: [runtime] Initial step towards switching Execution::Call to callable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handle sloppy mode api functions correctly. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stubs.cc ('k') | src/execution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.h
diff --git a/src/execution.h b/src/execution.h
index 75f7a8ebc9bc8331b32175f9fb6aff3a7e874b13..51fe3d32c00ff8f51902c917c52241c28e918e91 100644
--- a/src/execution.h
+++ b/src/execution.h
@@ -19,23 +19,16 @@ class JSRegExp;
class Execution final : public AllStatic {
public:
// Call a function, the caller supplies a receiver and an array
- // of arguments. Arguments are Object* type. After function returns,
- // pointers in 'args' might be invalid.
- //
- // *pending_exception tells whether the invoke resulted in
- // a pending exception.
+ // of arguments.
//
- // When convert_receiver is set, and the receiver is not an object,
- // and the function called is not in strict mode, receiver is converted to
- // an object.
+ // When the function called is not in strict mode, receiver is
+ // converted to an object.
//
- MUST_USE_RESULT static MaybeHandle<Object> Call(
- Isolate* isolate,
- Handle<Object> callable,
- Handle<Object> receiver,
- int argc,
- Handle<Object> argv[],
- bool convert_receiver = false);
+ MUST_USE_RESULT static MaybeHandle<Object> Call(Isolate* isolate,
+ Handle<Object> callable,
+ Handle<Object> receiver,
+ int argc,
+ Handle<Object> argv[]);
// Construct object from function, the caller supplies an array of
// arguments. Arguments are Object* type. After function returns,
« no previous file with comments | « src/code-stubs.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698