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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 2452943002: [turbofan] Remove dead kArchTailCallJSFunction. (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/compiler/instruction-scheduler.cc ('k') | src/compiler/mips/code-generator-mips.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/compiler/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/base/adapters.h" 9 #include "src/base/adapters.h"
10 #include "src/compiler/instruction-selector-impl.h" 10 #include "src/compiler/instruction-selector-impl.h"
(...skipping 1907 matching lines...) Expand 10 before | Expand all | Expand 10 after
1918 } 1918 }
1919 int temps_count = GetTempsCountForTailCallFromJSFunction(); 1919 int temps_count = GetTempsCountForTailCallFromJSFunction();
1920 for (int i = 0; i < temps_count; i++) { 1920 for (int i = 0; i < temps_count; i++) {
1921 temps.push_back(g.TempRegister()); 1921 temps.push_back(g.TempRegister());
1922 } 1922 }
1923 } else { 1923 } else {
1924 switch (descriptor->kind()) { 1924 switch (descriptor->kind()) {
1925 case CallDescriptor::kCallCodeObject: 1925 case CallDescriptor::kCallCodeObject:
1926 opcode = kArchTailCallCodeObject; 1926 opcode = kArchTailCallCodeObject;
1927 break; 1927 break;
1928 case CallDescriptor::kCallJSFunction:
1929 opcode = kArchTailCallJSFunction;
1930 break;
1931 case CallDescriptor::kCallAddress: 1928 case CallDescriptor::kCallAddress:
1932 opcode = kArchTailCallAddress; 1929 opcode = kArchTailCallAddress;
1933 break; 1930 break;
1934 default: 1931 default:
1935 UNREACHABLE(); 1932 UNREACHABLE();
1936 return; 1933 return;
1937 } 1934 }
1938 } 1935 }
1939 opcode |= MiscField::encode(descriptor->flags()); 1936 opcode |= MiscField::encode(descriptor->flags());
1940 1937
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2147 return new (instruction_zone()) FrameStateDescriptor( 2144 return new (instruction_zone()) FrameStateDescriptor(
2148 instruction_zone(), state_info.type(), state_info.bailout_id(), 2145 instruction_zone(), state_info.type(), state_info.bailout_id(),
2149 state_info.state_combine(), parameters, locals, stack, 2146 state_info.state_combine(), parameters, locals, stack,
2150 state_info.shared_info(), outer_state); 2147 state_info.shared_info(), outer_state);
2151 } 2148 }
2152 2149
2153 2150
2154 } // namespace compiler 2151 } // namespace compiler
2155 } // namespace internal 2152 } // namespace internal
2156 } // namespace v8 2153 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-scheduler.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698