Chromium Code Reviews| Index: src/execution.h |
| diff --git a/src/execution.h b/src/execution.h |
| index bb5f804506883b6d77e2b28c995d8cd7450ae2d2..57cf7a0df9194066edddbb9eaffb6ca868074371 100644 |
| --- a/src/execution.h |
| +++ b/src/execution.h |
| @@ -53,11 +53,16 @@ class Execution : public AllStatic { |
| // *pending_exception tells whether the invoke resulted in |
| // a pending exception. |
| // |
| + // 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 |
| + // and object. |
|
Kevin Millikin (Chromium)
2011/09/12 14:42:47
"and object" ==> "an object"
rossberg
2011/09/12 15:17:25
Done.
|
| + // |
| static Handle<Object> Call(Handle<Object> callable, |
| Handle<Object> receiver, |
| int argc, |
| Object*** args, |
| - bool* pending_exception); |
| + bool* pending_exception, |
| + bool convert_receiver = false); |
| // Construct object from function, the caller supplies an array of |
| // arguments. Arguments are Object* type. After function returns, |