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

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

Issue 1453113002: Handle StepIn for constructors through PrepareStep just like for regular calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add ports Created 5 years, 1 month 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.h" 10 #include "src/ast.h"
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 InsertBreak insert_break = INSERT_BREAK); 655 InsertBreak insert_break = INSERT_BREAK);
656 void SetExpressionPosition(Expression* expr, 656 void SetExpressionPosition(Expression* expr,
657 InsertBreak insert_break = SKIP_BREAK); 657 InsertBreak insert_break = SKIP_BREAK);
658 658
659 // Consider an expression a statement. As such, we also insert a break. 659 // Consider an expression a statement. As such, we also insert a break.
660 // This is used in loop headers where we want to break for each iteration. 660 // This is used in loop headers where we want to break for each iteration.
661 void SetExpressionAsStatementPosition(Expression* expr); 661 void SetExpressionAsStatementPosition(Expression* expr);
662 662
663 void SetCallPosition(Expression* expr, int argc); 663 void SetCallPosition(Expression* expr, int argc);
664 664
665 void SetConstructCallPosition(Expression* expr); 665 void SetConstructCallPosition(Expression* expr, int argc);
666 666
667 // Non-local control flow support. 667 // Non-local control flow support.
668 void EnterTryBlock(int handler_index, Label* handler); 668 void EnterTryBlock(int handler_index, Label* handler);
669 void ExitTryBlock(int handler_index); 669 void ExitTryBlock(int handler_index);
670 void EnterFinallyBlock(); 670 void EnterFinallyBlock();
671 void ExitFinallyBlock(); 671 void ExitFinallyBlock();
672 void ClearPendingMessage(); 672 void ClearPendingMessage();
673 673
674 // Loop nesting counter. 674 // Loop nesting counter.
675 int loop_depth() { return loop_depth_; } 675 int loop_depth() { return loop_depth_; }
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 Address start_; 1045 Address start_;
1046 Address instruction_start_; 1046 Address instruction_start_;
1047 uint32_t length_; 1047 uint32_t length_;
1048 }; 1048 };
1049 1049
1050 1050
1051 } // namespace internal 1051 } // namespace internal
1052 } // namespace v8 1052 } // namespace v8
1053 1053
1054 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1054 #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