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

Unified Diff: src/frames.h

Issue 1242303005: [turbofan]: Elide extra move when accessing stack or frame register (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: src/compiler/code-generator.cc Created 5 years, 5 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/compiler/x87/instruction-selector-x87.cc ('k') | src/ia32/frames-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 9eee5a136e9b8d35cfa61215b7a06afb76e6e092..3a9fa2043b27562b6a8f5476efee68f7b0d4367c 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -466,6 +466,10 @@ class StandardFrame: public StackFrame {
return static_cast<StandardFrame*>(frame);
}
+ // Architecture-specific register description.
+ static Register sp_register();
+ static Register fp_register();
+
protected:
inline explicit StandardFrame(StackFrameIteratorBase* iterator);
@@ -602,7 +606,6 @@ class JavaScriptFrame: public StandardFrame {
int* stack_slots, HandlerTable::CatchPrediction* prediction);
// Architecture-specific register description.
- static Register fp_register();
static Register context_register();
static Register constant_pool_pointer_register();
« no previous file with comments | « src/compiler/x87/instruction-selector-x87.cc ('k') | src/ia32/frames-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698