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

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

Issue 1222093007: Debugger: use debug break slot to break on call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
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_H_ 5 #ifndef V8_FULL_CODEGEN_H_
6 #define V8_FULL_CODEGEN_H_ 6 #define V8_FULL_CODEGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 // otherwise. 668 // otherwise.
669 void SetStatementPosition(Statement* stmt, 669 void SetStatementPosition(Statement* stmt,
670 InsertBreak insert_break = INSERT_BREAK); 670 InsertBreak insert_break = INSERT_BREAK);
671 void SetExpressionPosition(Expression* expr, 671 void SetExpressionPosition(Expression* expr,
672 InsertBreak insert_break = SKIP_BREAK); 672 InsertBreak insert_break = SKIP_BREAK);
673 673
674 // Consider an expression a statement. As such, we also insert a break. 674 // Consider an expression a statement. As such, we also insert a break.
675 // This is used in loop headers where we want to break for each iteration. 675 // This is used in loop headers where we want to break for each iteration.
676 void SetExpressionAsStatementPosition(Expression* expr); 676 void SetExpressionAsStatementPosition(Expression* expr);
677 677
678 void SetCallPosition(Expression* expr, int argc);
679
678 // Non-local control flow support. 680 // Non-local control flow support.
679 void EnterTryBlock(int handler_index, Label* handler); 681 void EnterTryBlock(int handler_index, Label* handler);
680 void ExitTryBlock(int handler_index); 682 void ExitTryBlock(int handler_index);
681 void EnterFinallyBlock(); 683 void EnterFinallyBlock();
682 void ExitFinallyBlock(); 684 void ExitFinallyBlock();
683 void ClearPendingMessage(); 685 void ClearPendingMessage();
684 686
685 // Loop nesting counter. 687 // Loop nesting counter.
686 int loop_depth() { return loop_depth_; } 688 int loop_depth() { return loop_depth_; }
687 void increment_loop_depth() { loop_depth_++; } 689 void increment_loop_depth() { loop_depth_++; }
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 1083
1082 Address start_; 1084 Address start_;
1083 Address instruction_start_; 1085 Address instruction_start_;
1084 uint32_t length_; 1086 uint32_t length_;
1085 }; 1087 };
1086 1088
1087 1089
1088 } } // namespace v8::internal 1090 } } // namespace v8::internal
1089 1091
1090 #endif // V8_FULL_CODEGEN_H_ 1092 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« src/assembler.cc ('K') | « src/assembler.cc ('k') | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698