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

Side by Side Diff: src/compiler/x64/code-generator-x64.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/verifier.cc ('k') | no next file » | 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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 } 752 }
753 case kArchJmp: 753 case kArchJmp:
754 AssembleArchJump(i.InputRpo(0)); 754 AssembleArchJump(i.InputRpo(0));
755 break; 755 break;
756 case kArchLookupSwitch: 756 case kArchLookupSwitch:
757 AssembleArchLookupSwitch(instr); 757 AssembleArchLookupSwitch(instr);
758 break; 758 break;
759 case kArchTableSwitch: 759 case kArchTableSwitch:
760 AssembleArchTableSwitch(instr); 760 AssembleArchTableSwitch(instr);
761 break; 761 break;
762 case kArchComment: {
763 Address comment_string = i.InputExternalReference(0).address();
764 __ RecordComment(reinterpret_cast<const char*>(comment_string));
765 break;
766 }
762 case kArchDebugBreak: 767 case kArchDebugBreak:
763 __ int3(); 768 __ int3();
764 break; 769 break;
765 case kArchNop: 770 case kArchNop:
766 case kArchThrowTerminator: 771 case kArchThrowTerminator:
767 // don't emit code for nops. 772 // don't emit code for nops.
768 break; 773 break;
769 case kArchDeoptimize: { 774 case kArchDeoptimize: {
770 int deopt_state_id = 775 int deopt_state_id =
771 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 776 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
(...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after
2309 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2314 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2310 __ Nop(padding_size); 2315 __ Nop(padding_size);
2311 } 2316 }
2312 } 2317 }
2313 2318
2314 #undef __ 2319 #undef __
2315 2320
2316 } // namespace compiler 2321 } // namespace compiler
2317 } // namespace internal 2322 } // namespace internal
2318 } // namespace v8 2323 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698