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

Side by Side Diff: src/mips/lithium-mips.cc

Issue 23691067: Remove unused HIsNumberAndBranch instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-mips.h ('k') | src/x64/lithium-codegen-x64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1914 return AssignEnvironment(new(zone()) LCheckNonSmi(value)); 1914 return AssignEnvironment(new(zone()) LCheckNonSmi(value));
1915 } 1915 }
1916 1916
1917 1917
1918 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { 1918 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) {
1919 LOperand* value = UseRegisterAtStart(instr->value()); 1919 LOperand* value = UseRegisterAtStart(instr->value());
1920 return AssignEnvironment(new(zone()) LCheckSmi(value)); 1920 return AssignEnvironment(new(zone()) LCheckSmi(value));
1921 } 1921 }
1922 1922
1923 1923
1924 LInstruction* LChunkBuilder::DoIsNumberAndBranch(HIsNumberAndBranch* instr) {
1925 return new(zone())
1926 LIsNumberAndBranch(UseRegisterOrConstantAtStart(instr->value()));
1927 }
1928
1929
1930 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { 1924 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) {
1931 LOperand* value = UseRegisterAtStart(instr->value()); 1925 LOperand* value = UseRegisterAtStart(instr->value());
1932 LInstruction* result = new(zone()) LCheckInstanceType(value); 1926 LInstruction* result = new(zone()) LCheckInstanceType(value);
1933 return AssignEnvironment(result); 1927 return AssignEnvironment(result);
1934 } 1928 }
1935 1929
1936 1930
1937 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) { 1931 LInstruction* LChunkBuilder::DoCheckValue(HCheckValue* instr) {
1938 LOperand* value = UseRegisterAtStart(instr->value()); 1932 LOperand* value = UseRegisterAtStart(instr->value());
1939 return AssignEnvironment(new(zone()) LCheckValue(value)); 1933 return AssignEnvironment(new(zone()) LCheckValue(value));
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
2507 2501
2508 2502
2509 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2503 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2510 LOperand* object = UseRegister(instr->object()); 2504 LOperand* object = UseRegister(instr->object());
2511 LOperand* index = UseRegister(instr->index()); 2505 LOperand* index = UseRegister(instr->index());
2512 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2506 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2513 } 2507 }
2514 2508
2515 2509
2516 } } // namespace v8::internal 2510 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698