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

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

Issue 1995543003: [turbofan] Add DebugBreak machine operator and support (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 4 years, 7 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/code-assembler.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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 } 532 }
533 case kArchJmp: 533 case kArchJmp:
534 AssembleArchJump(i.InputRpo(0)); 534 AssembleArchJump(i.InputRpo(0));
535 break; 535 break;
536 case kArchLookupSwitch: 536 case kArchLookupSwitch:
537 AssembleArchLookupSwitch(instr); 537 AssembleArchLookupSwitch(instr);
538 break; 538 break;
539 case kArchTableSwitch: 539 case kArchTableSwitch:
540 AssembleArchTableSwitch(instr); 540 AssembleArchTableSwitch(instr);
541 break; 541 break;
542 case kArchDebugBreak:
543 __ int3();
544 break;
542 case kArchNop: 545 case kArchNop:
543 case kArchThrowTerminator: 546 case kArchThrowTerminator:
544 // don't emit code for nops. 547 // don't emit code for nops.
545 break; 548 break;
546 case kArchDeoptimize: { 549 case kArchDeoptimize: {
547 int deopt_state_id = 550 int deopt_state_id =
548 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 551 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
549 Deoptimizer::BailoutType bailout_type = 552 Deoptimizer::BailoutType bailout_type =
550 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 553 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
551 CodeGenResult result = 554 CodeGenResult result =
(...skipping 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1954 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 1957 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
1955 __ Nop(padding_size); 1958 __ Nop(padding_size);
1956 } 1959 }
1957 } 1960 }
1958 1961
1959 #undef __ 1962 #undef __
1960 1963
1961 } // namespace compiler 1964 } // namespace compiler
1962 } // namespace internal 1965 } // namespace internal
1963 } // namespace v8 1966 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698