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

Side by Side Diff: src/execution.h

Issue 23661004: add isolate parameter for Execution::Call (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // of arguments. Arguments are Object* type. After function returns, 55 // of arguments. Arguments are Object* type. After function returns,
56 // pointers in 'args' might be invalid. 56 // pointers in 'args' might be invalid.
57 // 57 //
58 // *pending_exception tells whether the invoke resulted in 58 // *pending_exception tells whether the invoke resulted in
59 // a pending exception. 59 // a pending exception.
60 // 60 //
61 // When convert_receiver is set, and the receiver is not an object, 61 // When convert_receiver is set, and the receiver is not an object,
62 // and the function called is not in strict mode, receiver is converted to 62 // and the function called is not in strict mode, receiver is converted to
63 // an object. 63 // an object.
64 // 64 //
65 static Handle<Object> Call(Handle<Object> callable, 65 static Handle<Object> Call(Isolate* isolate,
66 Handle<Object> callable,
66 Handle<Object> receiver, 67 Handle<Object> receiver,
67 int argc, 68 int argc,
68 Handle<Object> argv[], 69 Handle<Object> argv[],
69 bool* pending_exception, 70 bool* pending_exception,
70 bool convert_receiver = false); 71 bool convert_receiver = false);
71 72
72 // Construct object from function, the caller supplies an array of 73 // Construct object from function, the caller supplies an array of
73 // arguments. Arguments are Object* type. After function returns, 74 // arguments. Arguments are Object* type. After function returns,
74 // pointers in 'args' might be invalid. 75 // pointers in 'args' might be invalid.
75 // 76 //
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 friend class StackLimitCheck; 313 friend class StackLimitCheck;
313 friend class PostponeInterruptsScope; 314 friend class PostponeInterruptsScope;
314 315
315 DISALLOW_COPY_AND_ASSIGN(StackGuard); 316 DISALLOW_COPY_AND_ASSIGN(StackGuard);
316 }; 317 };
317 318
318 319
319 } } // namespace v8::internal 320 } } // namespace v8::internal
320 321
321 #endif // V8_EXECUTION_H_ 322 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698