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

Unified Diff: runtime/vm/dart_entry.h

Issue 2639673003: Use a better stack bound in DartEntry::InvokeFunction (Closed)
Patch Set: asiva review Created 3 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 | « runtime/tests/vm/vm.status ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_entry.h
diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h
index 2a52eeca005eb11a97f226625cc03f3697fe8fcb..c2e8f92b931e71a1c8b580dea310eaad848afa40 100644
--- a/runtime/vm/dart_entry.h
+++ b/runtime/vm/dart_entry.h
@@ -126,9 +126,11 @@ class DartEntry : public AllStatic {
// Invokes the specified instance, static, or closure function.
// On success, returns a RawInstance. On failure, a RawError.
- static RawObject* InvokeFunction(const Function& function,
- const Array& arguments,
- const Array& arguments_descriptor);
+ static RawObject* InvokeFunction(
+ const Function& function,
+ const Array& arguments,
+ const Array& arguments_descriptor,
+ uword current_sp = Thread::GetCurrentStackPointer());
// Invokes the closure object given as the first argument.
// On success, returns a RawInstance. On failure, a RawError.
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/dart_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698