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

Unified Diff: src/code-stubs.h

Issue 1688283003: [Interpreter] Implements calls through CallICStub in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removes an unused label declaration. Created 4 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-factory.cc ('k') | src/compiler/bytecode-graph-builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index f370ce64735e994c84591d0316967d45c1cd9cd8..4edbc9998aaad67f96a2566600c9014b61e7a4c4 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -974,9 +974,13 @@ class CallICStub: public PlatformCodeStub {
}
protected:
- int arg_count() const { return state().argc(); }
+ int arg_count() const {
+ DCHECK(!argc_in_register());
+ return state().argc();
+ }
ConvertReceiverMode convert_mode() const { return state().convert_mode(); }
TailCallMode tail_call_mode() const { return state().tail_call_mode(); }
+ bool argc_in_register() const { return state().argc_in_register(); }
CallICState state() const {
return CallICState(static_cast<ExtraICState>(minor_key_));
« no previous file with comments | « src/code-factory.cc ('k') | src/compiler/bytecode-graph-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698