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/x64/codegen-x64.h

Issue 385136: Step next should respect do/while condition block. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « src/parser.cc ('k') | src/x64/codegen-x64.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 DONT_KNOW 549 DONT_KNOW
550 }; 550 };
551 ConditionAnalysis AnalyzeCondition(Expression* cond); 551 ConditionAnalysis AnalyzeCondition(Expression* cond);
552 552
553 // Methods used to indicate which source code is generated for. Source 553 // Methods used to indicate which source code is generated for. Source
554 // positions are collected by the assembler and emitted with the relocation 554 // positions are collected by the assembler and emitted with the relocation
555 // information. 555 // information.
556 void CodeForFunctionPosition(FunctionLiteral* fun); 556 void CodeForFunctionPosition(FunctionLiteral* fun);
557 void CodeForReturnPosition(FunctionLiteral* fun); 557 void CodeForReturnPosition(FunctionLiteral* fun);
558 void CodeForStatementPosition(Statement* node); 558 void CodeForStatementPosition(Statement* node);
559 void CodeForDoWhileConditionPosition(DoWhileStatement* stmt);
559 void CodeForSourcePosition(int pos); 560 void CodeForSourcePosition(int pos);
560 561
561 #ifdef DEBUG 562 #ifdef DEBUG
562 // True if the registers are valid for entry to a block. There should 563 // True if the registers are valid for entry to a block. There should
563 // be no frame-external references to (non-reserved) registers. 564 // be no frame-external references to (non-reserved) registers.
564 bool HasValidEntryRegisters(); 565 bool HasValidEntryRegisters();
565 #endif 566 #endif
566 567
567 bool is_eval_; // Tells whether code is generated for eval. 568 bool is_eval_; // Tells whether code is generated for eval.
568 Handle<Script> script_; 569 Handle<Script> script_;
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 void SetArgsReversed() { args_reversed_ = true; } 736 void SetArgsReversed() { args_reversed_ = true; }
736 bool HasSmiCodeInStub() { return (flags_ & NO_SMI_CODE_IN_STUB) == 0; } 737 bool HasSmiCodeInStub() { return (flags_ & NO_SMI_CODE_IN_STUB) == 0; }
737 bool HasArgumentsInRegisters() { return args_in_registers_; } 738 bool HasArgumentsInRegisters() { return args_in_registers_; }
738 bool HasArgumentsReversed() { return args_reversed_; } 739 bool HasArgumentsReversed() { return args_reversed_; }
739 }; 740 };
740 741
741 742
742 } } // namespace v8::internal 743 } } // namespace v8::internal
743 744
744 #endif // V8_X64_CODEGEN_X64_H_ 745 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698