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

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

Issue 1642003: X64: Add smi-type to loop variable of simple smi for-loops. (Closed)
Patch Set: Created 10 years, 8 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 | « no previous file | 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 606
607 // Methods used to indicate which source code is generated for. Source 607 // Methods used to indicate which source code is generated for. Source
608 // positions are collected by the assembler and emitted with the relocation 608 // positions are collected by the assembler and emitted with the relocation
609 // information. 609 // information.
610 void CodeForFunctionPosition(FunctionLiteral* fun); 610 void CodeForFunctionPosition(FunctionLiteral* fun);
611 void CodeForReturnPosition(FunctionLiteral* fun); 611 void CodeForReturnPosition(FunctionLiteral* fun);
612 void CodeForStatementPosition(Statement* node); 612 void CodeForStatementPosition(Statement* node);
613 void CodeForDoWhileConditionPosition(DoWhileStatement* stmt); 613 void CodeForDoWhileConditionPosition(DoWhileStatement* stmt);
614 void CodeForSourcePosition(int pos); 614 void CodeForSourcePosition(int pos);
615 615
616 void SetTypeForStackSlot(Slot* slot, TypeInfo info);
617
616 #ifdef DEBUG 618 #ifdef DEBUG
617 // True if the registers are valid for entry to a block. There should 619 // True if the registers are valid for entry to a block. There should
618 // be no frame-external references to (non-reserved) registers. 620 // be no frame-external references to (non-reserved) registers.
619 bool HasValidEntryRegisters(); 621 bool HasValidEntryRegisters();
620 #endif 622 #endif
621 623
622 ZoneList<DeferredCode*> deferred_; 624 ZoneList<DeferredCode*> deferred_;
623 625
624 // Assembler 626 // Assembler
625 MacroAssembler* masm_; // to generate code 627 MacroAssembler* masm_; // to generate code
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 void Print() { 947 void Print() {
946 PrintF("NumberToStringStub\n"); 948 PrintF("NumberToStringStub\n");
947 } 949 }
948 #endif 950 #endif
949 }; 951 };
950 952
951 953
952 } } // namespace v8::internal 954 } } // namespace v8::internal
953 955
954 #endif // V8_X64_CODEGEN_X64_H_ 956 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698