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

Unified Diff: src/compiler.h

Issue 11659022: Generate the TransitionElementsStub using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review feedback Created 7 years, 10 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/code-stubs-hydrogen.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 9315a502afa2e6998d9324af025d93d4fd469659..076dc003f61d9db3bbd8959d5b4f84f25db3fe39 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -130,6 +130,14 @@ class CompilationInfo {
return IsNonDeferredCalling::decode(flags_);
}
+ void MarkAsSavesCallerDoubles() {
+ flags_ |= SavesCallerDoubles::encode(true);
+ }
+
+ bool saves_caller_doubles() const {
+ return SavesCallerDoubles::decode(flags_);
+ }
+
void SetFunction(FunctionLiteral* literal) {
ASSERT(function_ == NULL);
function_ = literal;
@@ -275,6 +283,8 @@ class CompilationInfo {
class IsDeferredCalling: public BitField<bool, 10, 1> {};
// If the compiled code contains calls that require building a frame
class IsNonDeferredCalling: public BitField<bool, 11, 1> {};
+ // If the compiled code saves double caller registers that it clobbers.
+ class SavesCallerDoubles: public BitField<bool, 12, 1> {};
unsigned flags_;
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/deoptimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698