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

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

Issue 2056503003: [turbofan] Add comments to CodeAssembler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove extraneous change Created 4 years, 6 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/machine-operator.cc ('k') | src/compiler/mips64/code-generator-mips64.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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/compiler/code-generator.h" 6 #include "src/compiler/code-generator.h"
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 break; 648 break;
649 case kArchLookupSwitch: 649 case kArchLookupSwitch:
650 AssembleArchLookupSwitch(instr); 650 AssembleArchLookupSwitch(instr);
651 break; 651 break;
652 case kArchTableSwitch: 652 case kArchTableSwitch:
653 AssembleArchTableSwitch(instr); 653 AssembleArchTableSwitch(instr);
654 break; 654 break;
655 case kArchDebugBreak: 655 case kArchDebugBreak:
656 __ stop("kArchDebugBreak"); 656 __ stop("kArchDebugBreak");
657 break; 657 break;
658 case kArchComment: {
659 Address comment_string = i.InputExternalReference(0).address();
660 __ RecordComment(reinterpret_cast<const char*>(comment_string));
661 break;
662 }
658 case kArchNop: 663 case kArchNop:
659 case kArchThrowTerminator: 664 case kArchThrowTerminator:
660 // don't emit code for nops. 665 // don't emit code for nops.
661 break; 666 break;
662 case kArchDeoptimize: { 667 case kArchDeoptimize: {
663 int deopt_state_id = 668 int deopt_state_id =
664 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 669 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
665 Deoptimizer::BailoutType bailout_type = 670 Deoptimizer::BailoutType bailout_type =
666 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 671 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
667 CodeGenResult result = 672 CodeGenResult result =
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1980 padding_size -= v8::internal::Assembler::kInstrSize; 1985 padding_size -= v8::internal::Assembler::kInstrSize;
1981 } 1986 }
1982 } 1987 }
1983 } 1988 }
1984 1989
1985 #undef __ 1990 #undef __
1986 1991
1987 } // namespace compiler 1992 } // namespace compiler
1988 } // namespace internal 1993 } // namespace internal
1989 } // namespace v8 1994 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698