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

Side by Side Diff: src/full-codegen/full-codegen.h

Issue 1759603002: [debugger] Ensure at least one breakable position per function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_ 5 #ifndef V8_FULL_CODEGEN_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_FULL_CODEGEN_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 // Non-local control flow support. 677 // Non-local control flow support.
678 void EnterTryBlock(int handler_index, Label* handler); 678 void EnterTryBlock(int handler_index, Label* handler);
679 void ExitTryBlock(int handler_index); 679 void ExitTryBlock(int handler_index);
680 void EnterFinallyBlock(); 680 void EnterFinallyBlock();
681 void ExitFinallyBlock(); 681 void ExitFinallyBlock();
682 void ClearPendingMessage(); 682 void ClearPendingMessage();
683 683
684 void EmitContinue(Statement* target); 684 void EmitContinue(Statement* target);
685 void EmitBreak(Statement* target); 685 void EmitBreak(Statement* target);
686 686
687 void EmitIllegalRedeclaration();
688
687 // Loop nesting counter. 689 // Loop nesting counter.
688 int loop_depth() { return loop_depth_; } 690 int loop_depth() { return loop_depth_; }
689 void increment_loop_depth() { loop_depth_++; } 691 void increment_loop_depth() { loop_depth_++; }
690 void decrement_loop_depth() { 692 void decrement_loop_depth() {
691 DCHECK(loop_depth_ > 0); 693 DCHECK(loop_depth_ > 0);
692 loop_depth_--; 694 loop_depth_--;
693 } 695 }
694 696
695 MacroAssembler* masm() const { return masm_; } 697 MacroAssembler* masm() const { return masm_; }
696 698
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 Address start_; 1059 Address start_;
1058 Address instruction_start_; 1060 Address instruction_start_;
1059 uint32_t length_; 1061 uint32_t length_;
1060 }; 1062 };
1061 1063
1062 1064
1063 } // namespace internal 1065 } // namespace internal
1064 } // namespace v8 1066 } // namespace v8
1065 1067
1066 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1068 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen/arm64/full-codegen-arm64.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698