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

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

Issue 2280613002: Revert of [turbofan] Insert dummy values when changing from None type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/arm64/code-generator-arm64.cc ('k') | src/compiler/instruction-codes.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 AssembleArchTableSwitch(instr); 630 AssembleArchTableSwitch(instr);
631 break; 631 break;
632 case kArchComment: { 632 case kArchComment: {
633 Address comment_string = i.InputExternalReference(0).address(); 633 Address comment_string = i.InputExternalReference(0).address();
634 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 634 __ RecordComment(reinterpret_cast<const char*>(comment_string));
635 break; 635 break;
636 } 636 }
637 case kArchDebugBreak: 637 case kArchDebugBreak:
638 __ int3(); 638 __ int3();
639 break; 639 break;
640 case kArchImpossible:
641 __ Abort(kConversionFromImpossibleValue);
642 break;
640 case kArchNop: 643 case kArchNop:
641 case kArchThrowTerminator: 644 case kArchThrowTerminator:
642 // don't emit code for nops. 645 // don't emit code for nops.
643 break; 646 break;
644 case kArchDeoptimize: { 647 case kArchDeoptimize: {
645 int deopt_state_id = 648 int deopt_state_id =
646 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 649 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
647 Deoptimizer::BailoutType bailout_type = 650 Deoptimizer::BailoutType bailout_type =
648 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 651 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
649 CodeGenResult result = 652 CodeGenResult result =
(...skipping 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2268 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2266 __ Nop(padding_size); 2269 __ Nop(padding_size);
2267 } 2270 }
2268 } 2271 }
2269 2272
2270 #undef __ 2273 #undef __
2271 2274
2272 } // namespace compiler 2275 } // namespace compiler
2273 } // namespace internal 2276 } // namespace internal
2274 } // namespace v8 2277 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698