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

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

Issue 1819123002: Remove support for legacy const, part 1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased, deleted one more file 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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 // Non-local control flow support. 686 // Non-local control flow support.
687 void EnterTryBlock(int handler_index, Label* handler); 687 void EnterTryBlock(int handler_index, Label* handler);
688 void ExitTryBlock(int handler_index); 688 void ExitTryBlock(int handler_index);
689 void EnterFinallyBlock(); 689 void EnterFinallyBlock();
690 void ExitFinallyBlock(); 690 void ExitFinallyBlock();
691 void ClearPendingMessage(); 691 void ClearPendingMessage();
692 692
693 void EmitContinue(Statement* target); 693 void EmitContinue(Statement* target);
694 void EmitBreak(Statement* target); 694 void EmitBreak(Statement* target);
695 695
696 void EmitIllegalRedeclaration();
697
698 // Loop nesting counter. 696 // Loop nesting counter.
699 int loop_depth() { return loop_depth_; } 697 int loop_depth() { return loop_depth_; }
700 void increment_loop_depth() { loop_depth_++; } 698 void increment_loop_depth() { loop_depth_++; }
701 void decrement_loop_depth() { 699 void decrement_loop_depth() {
702 DCHECK(loop_depth_ > 0); 700 DCHECK(loop_depth_ > 0);
703 loop_depth_--; 701 loop_depth_--;
704 } 702 }
705 703
706 MacroAssembler* masm() const { return masm_; } 704 MacroAssembler* masm() const { return masm_; }
707 705
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 Address start_; 1053 Address start_;
1056 Address instruction_start_; 1054 Address instruction_start_;
1057 uint32_t length_; 1055 uint32_t length_;
1058 }; 1056 };
1059 1057
1060 1058
1061 } // namespace internal 1059 } // namespace internal
1062 } // namespace v8 1060 } // namespace v8
1063 1061
1064 #endif // V8_FULL_CODEGEN_FULL_CODEGEN_H_ 1062 #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