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

Side by Side Diff: src/interpreter/interpreter.cc

Issue 1768593002: [Interpreter] Removes TestNotEqualsStrict bytecode from interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | test/cctest/interpreter/test-interpreter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/interpreter/interpreter.h" 5 #include "src/interpreter/interpreter.h"
6 6
7 #include "src/ast/prettyprinter.h" 7 #include "src/ast/prettyprinter.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/compiler.h" 9 #include "src/compiler.h"
10 #include "src/factory.h" 10 #include "src/factory.h"
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 1185
1186 1186
1187 // TestEqualStrict <src> 1187 // TestEqualStrict <src>
1188 // 1188 //
1189 // Test if the value in the <src> register is strictly equal to the accumulator. 1189 // Test if the value in the <src> register is strictly equal to the accumulator.
1190 void Interpreter::DoTestEqualStrict(InterpreterAssembler* assembler) { 1190 void Interpreter::DoTestEqualStrict(InterpreterAssembler* assembler) {
1191 DoBinaryOp(CodeFactory::StrictEqual(isolate_), assembler); 1191 DoBinaryOp(CodeFactory::StrictEqual(isolate_), assembler);
1192 } 1192 }
1193 1193
1194 1194
1195 // TestNotEqualStrict <src>
1196 //
1197 // Test if the value in the <src> register is not strictly equal to the
1198 // accumulator.
1199 void Interpreter::DoTestNotEqualStrict(InterpreterAssembler* assembler) {
1200 DoBinaryOp(CodeFactory::StrictNotEqual(isolate_), assembler);
1201 }
1202
1203
1204 // TestLessThan <src> 1195 // TestLessThan <src>
1205 // 1196 //
1206 // Test if the value in the <src> register is less than the accumulator. 1197 // Test if the value in the <src> register is less than the accumulator.
1207 void Interpreter::DoTestLessThan(InterpreterAssembler* assembler) { 1198 void Interpreter::DoTestLessThan(InterpreterAssembler* assembler) {
1208 DoBinaryOp(CodeFactory::LessThan(isolate_), assembler); 1199 DoBinaryOp(CodeFactory::LessThan(isolate_), assembler);
1209 } 1200 }
1210 1201
1211 1202
1212 // TestGreaterThan <src> 1203 // TestGreaterThan <src>
1213 // 1204 //
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1913 Node* index = __ LoadRegister(index_reg); 1904 Node* index = __ LoadRegister(index_reg);
1914 Node* one = __ SmiConstant(Smi::FromInt(1)); 1905 Node* one = __ SmiConstant(Smi::FromInt(1));
1915 Node* result = __ SmiAdd(index, one); 1906 Node* result = __ SmiAdd(index, one);
1916 __ SetAccumulator(result); 1907 __ SetAccumulator(result);
1917 __ Dispatch(); 1908 __ Dispatch();
1918 } 1909 }
1919 1910
1920 } // namespace interpreter 1911 } // namespace interpreter
1921 } // namespace internal 1912 } // namespace internal
1922 } // namespace v8 1913 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | test/cctest/interpreter/test-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698