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

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

Issue 353823002: Reorder full code for while loops to better reflect statement positions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/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_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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 TypeFeedbackId id = TypeFeedbackId::None()); 555 TypeFeedbackId id = TypeFeedbackId::None());
556 556
557 void CallLoadIC(ContextualMode mode, 557 void CallLoadIC(ContextualMode mode,
558 TypeFeedbackId id = TypeFeedbackId::None()); 558 TypeFeedbackId id = TypeFeedbackId::None());
559 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None()); 559 void CallStoreIC(TypeFeedbackId id = TypeFeedbackId::None());
560 560
561 void SetFunctionPosition(FunctionLiteral* fun); 561 void SetFunctionPosition(FunctionLiteral* fun);
562 void SetReturnPosition(FunctionLiteral* fun); 562 void SetReturnPosition(FunctionLiteral* fun);
563 void SetStatementPosition(Statement* stmt); 563 void SetStatementPosition(Statement* stmt);
564 void SetExpressionPosition(Expression* expr); 564 void SetExpressionPosition(Expression* expr);
565 void SetStatementPosition(int pos);
566 void SetSourcePosition(int pos); 565 void SetSourcePosition(int pos);
567 566
568 // Non-local control flow support. 567 // Non-local control flow support.
569 void EnterFinallyBlock(); 568 void EnterFinallyBlock();
570 void ExitFinallyBlock(); 569 void ExitFinallyBlock();
571 570
572 // Loop nesting counter. 571 // Loop nesting counter.
573 int loop_depth() { return loop_depth_; } 572 int loop_depth() { return loop_depth_; }
574 void increment_loop_depth() { loop_depth_++; } 573 void increment_loop_depth() { loop_depth_++; }
575 void decrement_loop_depth() { 574 void decrement_loop_depth() {
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 933
935 Address start_; 934 Address start_;
936 Address instruction_start_; 935 Address instruction_start_;
937 uint32_t length_; 936 uint32_t length_;
938 }; 937 };
939 938
940 939
941 } } // namespace v8::internal 940 } } // namespace v8::internal
942 941
943 #endif // V8_FULL_CODEGEN_H_ 942 #endif // V8_FULL_CODEGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698