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

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

Issue 2080873003: X87: [turbofan] Add comments to CodeAssembler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | 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 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 } 599 }
600 case kArchJmp: 600 case kArchJmp:
601 AssembleArchJump(i.InputRpo(0)); 601 AssembleArchJump(i.InputRpo(0));
602 break; 602 break;
603 case kArchLookupSwitch: 603 case kArchLookupSwitch:
604 AssembleArchLookupSwitch(instr); 604 AssembleArchLookupSwitch(instr);
605 break; 605 break;
606 case kArchTableSwitch: 606 case kArchTableSwitch:
607 AssembleArchTableSwitch(instr); 607 AssembleArchTableSwitch(instr);
608 break; 608 break;
609 case kArchComment: {
610 Address comment_string = i.InputExternalReference(0).address();
611 __ RecordComment(reinterpret_cast<const char*>(comment_string));
612 break;
613 }
609 case kArchDebugBreak: 614 case kArchDebugBreak:
610 __ int3(); 615 __ int3();
611 break; 616 break;
612 case kArchNop: 617 case kArchNop:
613 case kArchThrowTerminator: 618 case kArchThrowTerminator:
614 // don't emit code for nops. 619 // don't emit code for nops.
615 break; 620 break;
616 case kArchDeoptimize: { 621 case kArchDeoptimize: {
617 int deopt_state_id = 622 int deopt_state_id =
618 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 623 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
(...skipping 1888 matching lines...) Expand 10 before | Expand all | Expand 10 after
2507 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2512 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2508 __ Nop(padding_size); 2513 __ Nop(padding_size);
2509 } 2514 }
2510 } 2515 }
2511 2516
2512 #undef __ 2517 #undef __
2513 2518
2514 } // namespace compiler 2519 } // namespace compiler
2515 } // namespace internal 2520 } // namespace internal
2516 } // namespace v8 2521 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698