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

Unified Diff: src/arguments.h

Issue 869963002: Reland "Call directly to c callbacks in Invoke instead of transitioning to js and back out" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/builtins.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arguments.h
diff --git a/src/arguments.h b/src/arguments.h
index e6c6db569befa798861dcecc1401baad8cc2c3e2..049a34f4ffb846a918abf1466dc79496b780bf3b 100644
--- a/src/arguments.h
+++ b/src/arguments.h
@@ -58,6 +58,10 @@ class Arguments BASE_EMBEDDED {
Object** arguments() { return arguments_; }
+ Object** lowest_address() { return &this->operator[](length() - 1); }
+
+ Object** highest_address() { return &this->operator[](0); }
+
private:
intptr_t length_;
Object** arguments_;
« no previous file with comments | « no previous file | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698