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

Unified Diff: src/compiler/js-operator.cc

Issue 1455913003: [turbofan] Fix CFI failures with Operator1 class. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Better solution. 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
« no previous file with comments | « src/compiler/common-operator.cc ('k') | src/compiler/operator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-operator.cc
diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
index 60294cacbde7e9475aa50a034ba143b61b2a392c..4687e8318d7268c9631de3a0297fbae7cb886009 100644
--- a/src/compiler/js-operator.cc
+++ b/src/compiler/js-operator.cc
@@ -677,8 +677,7 @@ const Operator* JSOperatorBuilder::CreateFunctionContext(int slot_count) {
const Operator* JSOperatorBuilder::CreateCatchContext(
const Handle<String>& name) {
- return new (zone()) Operator1<Handle<String>, Handle<String>::equal_to,
- Handle<String>::hash>( // --
+ return new (zone()) Operator1<Handle<String>>( // --
IrOpcode::kJSCreateCatchContext, Operator::kNoProperties, // opcode
"JSCreateCatchContext", // name
2, 1, 1, 1, 1, 2, // counts
@@ -688,8 +687,7 @@ const Operator* JSOperatorBuilder::CreateCatchContext(
const Operator* JSOperatorBuilder::CreateBlockContext(
const Handle<ScopeInfo>& scpope_info) {
- return new (zone()) Operator1<Handle<ScopeInfo>, Handle<ScopeInfo>::equal_to,
- Handle<ScopeInfo>::hash>( // --
+ return new (zone()) Operator1<Handle<ScopeInfo>>( // --
IrOpcode::kJSCreateBlockContext, Operator::kNoProperties, // opcode
"JSCreateBlockContext", // name
1, 1, 1, 1, 1, 2, // counts
@@ -699,8 +697,7 @@ const Operator* JSOperatorBuilder::CreateBlockContext(
const Operator* JSOperatorBuilder::CreateScriptContext(
const Handle<ScopeInfo>& scpope_info) {
- return new (zone()) Operator1<Handle<ScopeInfo>, Handle<ScopeInfo>::equal_to,
- Handle<ScopeInfo>::hash>( // --
+ return new (zone()) Operator1<Handle<ScopeInfo>>( // --
IrOpcode::kJSCreateScriptContext, Operator::kNoProperties, // opcode
"JSCreateScriptContext", // name
1, 1, 1, 1, 1, 2, // counts
« no previous file with comments | « src/compiler/common-operator.cc ('k') | src/compiler/operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698