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

Unified Diff: src/compiler/linkage-impl.h

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-impl.h
diff --git a/src/compiler/linkage-impl.h b/src/compiler/linkage-impl.h
index c964eee0682085ce7f6ebf0d9ff76cbb2f4083e5..c13bd74f40833f62ea6de944d1982ba872496ecc 100644
--- a/src/compiler/linkage-impl.h
+++ b/src/compiler/linkage-impl.h
@@ -134,7 +134,8 @@ class LinkageHelper {
// TODO(turbofan): cache call descriptors for code stub calls.
static CallDescriptor* GetStubCallDescriptor(
Zone* zone, const CallInterfaceDescriptor& descriptor,
- int stack_parameter_count, CallDescriptor::Flags flags) {
+ int stack_parameter_count, CallDescriptor::Flags flags,
+ Operator::Properties properties) {
const int register_parameter_count =
descriptor.GetEnvironmentParameterCount();
const int js_parameter_count =
@@ -178,7 +179,7 @@ class LinkageHelper {
types.Build(), // machine_sig
locations.Build(), // location_sig
js_parameter_count, // js_parameter_count
- Operator::kNoProperties, // properties
+ properties, // properties
kNoCalleeSaved, // callee-saved registers
flags, // flags
descriptor.DebugName(zone->isolate()));

Powered by Google App Engine
This is Rietveld 408576698