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

Unified Diff: src/compiler/linkage.cc

Issue 792463003: [turbofan] Turn JSToBoolean and JSUnaryNot into pure operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index 009d5d8fe7215b3ed6013b1d17b694d036000e56..1bf70f538534499172a3ea4fcbf4e93517bd4893 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -56,7 +56,8 @@ CallDescriptor* Linkage::ComputeIncoming(Zone* zone, CompilationInfo* info) {
// Use the code stub interface descriptor.
CallInterfaceDescriptor descriptor =
info->code_stub()->GetCallInterfaceDescriptor();
- return GetStubCallDescriptor(descriptor, 0, CallDescriptor::kNoFlags, zone);
+ return GetStubCallDescriptor(descriptor, 0, CallDescriptor::kNoFlags,
+ Operator::kNoProperties, zone);
}
return NULL; // TODO(titzer): ?
}
@@ -105,8 +106,9 @@ CallDescriptor* Linkage::GetRuntimeCallDescriptor(
CallDescriptor* Linkage::GetStubCallDescriptor(
const CallInterfaceDescriptor& descriptor, int stack_parameter_count,
- CallDescriptor::Flags flags) const {
- return GetStubCallDescriptor(descriptor, stack_parameter_count, flags, zone_);
+ CallDescriptor::Flags flags, Operator::Properties properties) const {
+ return GetStubCallDescriptor(descriptor, stack_parameter_count, flags,
+ properties, zone_);
}
@@ -238,7 +240,8 @@ CallDescriptor* Linkage::GetRuntimeCallDescriptor(
CallDescriptor* Linkage::GetStubCallDescriptor(
const CallInterfaceDescriptor& descriptor, int stack_parameter_count,
- CallDescriptor::Flags flags, Zone* zone) {
+ CallDescriptor::Flags flags, OperatorProperties::Properties properties,
+ Zone* zone) {
UNIMPLEMENTED();
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698