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

Unified Diff: src/x64/codegen-x64.h

Issue 919703003: WIP: Implement ES6 Spread-calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Flag calls as spread calls in parser, error on spread intrinsics/construct calls Created 5 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
Index: src/x64/codegen-x64.h
diff --git a/src/x64/codegen-x64.h b/src/x64/codegen-x64.h
index 0a551eef5c3de55e0fa39ec5a52c40670378a4d4..96470dbb5b0bb7bbf32f007d4d52cec3d95ce267 100644
--- a/src/x64/codegen-x64.h
+++ b/src/x64/codegen-x64.h
@@ -99,6 +99,7 @@ class StackArgumentsAccessor BASE_EMBEDDED {
DCHECK(receiver_mode_ == ARGUMENTS_CONTAIN_RECEIVER);
return GetArgumentOperand(0);
}
+ const Register& argument_count_reg() const { return argument_count_reg_; }
private:
const Register base_reg_;
@@ -106,8 +107,6 @@ class StackArgumentsAccessor BASE_EMBEDDED {
const int argument_count_immediate_;
const StackArgumentsAccessorReceiverMode receiver_mode_;
const int extra_displacement_to_last_argument_;
-
- DISALLOW_IMPLICIT_CONSTRUCTORS(StackArgumentsAccessor);
};

Powered by Google App Engine
This is Rietveld 408576698