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

Unified Diff: src/compiler/instruction-selector-impl.h

Issue 1323463005: [Interpreter] Add support for JS calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/instruction-selector-impl.h
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h
index e22f5458697b852f59300dc5e4011298673da45e..9710bfb93f5ec9d048a781c923f14facdd1b1bfc 100644
--- a/src/compiler/instruction-selector-impl.h
+++ b/src/compiler/instruction-selector-impl.h
@@ -376,6 +376,10 @@ struct CallBuffer {
: (frame_state_descriptor->GetTotalSize() +
1); // Include deopt id.
}
+
+ size_t non_argument_input_count() const {
+ return descriptor->HasVarArgs() ? descriptor->VarArgsInputCount() : 0;
+ }
};
} // namespace compiler

Powered by Google App Engine
This is Rietveld 408576698