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

Unified Diff: src/interpreter/interpreter.cc

Issue 2744173002: [csa] Remove context inputs from StrictEqual, SameValue and Typeof. (Closed)
Patch Set: Created 3 years, 9 months 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/ic/keyed-store-generic.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter.cc
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
index 4c1f2899d596f89acc9851311b73c01c03330b6f..78a64ad87d9bdf625f23d3c29fd989b83e64fe84 100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -1362,7 +1362,7 @@ void Interpreter::DoCompareOpWithFeedback(Token::Value compare_op,
result = assembler->Equal(lhs, rhs, context);
break;
case Token::EQ_STRICT:
- result = assembler->StrictEqual(lhs, rhs, context);
+ result = assembler->StrictEqual(lhs, rhs);
break;
case Token::LT:
result = assembler->RelationalComparison(CodeStubAssembler::kLessThan,
@@ -2155,8 +2155,7 @@ void Interpreter::DoLogicalNot(InterpreterAssembler* assembler) {
// object in the accumulator.
void Interpreter::DoTypeOf(InterpreterAssembler* assembler) {
Node* value = __ GetAccumulator();
- Node* context = __ GetContext();
- Node* result = assembler->Typeof(value, context);
+ Node* result = assembler->Typeof(value);
__ SetAccumulator(result);
__ Dispatch();
}
« no previous file with comments | « src/ic/keyed-store-generic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698