Index: src/x87/interface-descriptors-x87.cc |
diff --git a/src/x87/interface-descriptors-x87.cc b/src/x87/interface-descriptors-x87.cc |
index 9f37b85c87f5f4cf826e1d49badf36e577e09cff..09911553536efd9d750354e7ead4eacd88a2c40f 100644 |
--- a/src/x87/interface-descriptors-x87.cc |
+++ b/src/x87/interface-descriptors-x87.cc |
@@ -191,7 +191,7 @@ void CallConstructDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
// eax : number of arguments |
// ebx : feedback vector |
- // ecx : original constructor (for IsSuperConstructorCall) |
+ // ecx : new target (for IsSuperConstructorCall) |
// edx : slot in feedback vector (Smi, for RecordCallTarget) |
// edi : constructor function |
// TODO(turbofan): So far we don't gather type feedback and hence skip the |
@@ -416,7 +416,7 @@ void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( |
CallInterfaceDescriptorData* data) { |
Register registers[] = { |
eax, // argument count (not including receiver) |
- edx, // original constructor |
+ edx, // new target |
edi, // constructor |
ebx, // address of first argument |
}; |