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

Side by Side Diff: src/compiler/ppc/code-generator-ppc.cc

Issue 2266823002: [turbofan] Insert dummy values when changing from None type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/representation-change.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/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 AssembleArchLookupSwitch(instr); 1070 AssembleArchLookupSwitch(instr);
1071 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 1071 DCHECK_EQ(LeaveRC, i.OutputRCBit());
1072 break; 1072 break;
1073 case kArchTableSwitch: 1073 case kArchTableSwitch:
1074 AssembleArchTableSwitch(instr); 1074 AssembleArchTableSwitch(instr);
1075 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 1075 DCHECK_EQ(LeaveRC, i.OutputRCBit());
1076 break; 1076 break;
1077 case kArchDebugBreak: 1077 case kArchDebugBreak:
1078 __ stop("kArchDebugBreak"); 1078 __ stop("kArchDebugBreak");
1079 break; 1079 break;
1080 case kArchImpossible:
1081 __ Abort(kConversionFromImpossibleValue);
1082 break;
1083 case kArchNop: 1080 case kArchNop:
1084 case kArchThrowTerminator: 1081 case kArchThrowTerminator:
1085 // don't emit code for nops. 1082 // don't emit code for nops.
1086 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 1083 DCHECK_EQ(LeaveRC, i.OutputRCBit());
1087 break; 1084 break;
1088 case kArchDeoptimize: { 1085 case kArchDeoptimize: {
1089 int deopt_state_id = 1086 int deopt_state_id =
1090 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 1087 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
1091 Deoptimizer::BailoutType bailout_type = 1088 Deoptimizer::BailoutType bailout_type =
1092 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 1089 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
2442 padding_size -= v8::internal::Assembler::kInstrSize; 2439 padding_size -= v8::internal::Assembler::kInstrSize;
2443 } 2440 }
2444 } 2441 }
2445 } 2442 }
2446 2443
2447 #undef __ 2444 #undef __
2448 2445
2449 } // namespace compiler 2446 } // namespace compiler
2450 } // namespace internal 2447 } // namespace internal
2451 } // namespace v8 2448 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698