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

Unified Diff: src/ia32/macro-assembler-ia32.h

Issue 1460503008: [turbofan] Switch passing of new.target to register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-pass-new-target-6
Patch Set: Created 5 years, 1 month 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/ia32/macro-assembler-ia32.h
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h
index f4e86b0540f1495c196d5b950ad3e9f1d41d56e9..d45362d726290f5288a2626455613c2d043d2b7e 100644
--- a/src/ia32/macro-assembler-ia32.h
+++ b/src/ia32/macro-assembler-ia32.h
@@ -359,10 +359,11 @@ class MacroAssembler: public Assembler {
const ParameterCount& actual,
InvokeFlag flag,
const CallWrapper& call_wrapper) {
- InvokeCode(Operand(code), expected, actual, flag, call_wrapper);
+ InvokeCode(Operand(code), no_reg, expected, actual, flag, call_wrapper);
}
void InvokeCode(const Operand& code,
+ Register new_target,
const ParameterCount& expected,
const ParameterCount& actual,
InvokeFlag flag,
@@ -371,6 +372,7 @@ class MacroAssembler: public Assembler {
// Invoke the JavaScript function in the given register. Changes the
// current context to the context in the function before invoking.
void InvokeFunction(Register function,
+ Register new_target,
const ParameterCount& actual,
InvokeFlag flag,
const CallWrapper& call_wrapper);
@@ -1011,7 +1013,7 @@ class MacroAssembler: public Assembler {
bool* definitely_mismatches,
InvokeFlag flag,
Label::Distance done_distance,
- const CallWrapper& call_wrapper = NullCallWrapper());
+ const CallWrapper& call_wrapper);
void EnterExitFramePrologue();
void EnterExitFrameEpilogue(int argc, bool save_doubles);

Powered by Google App Engine
This is Rietveld 408576698