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

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

Issue 1138003: Fix code generation for fast smi loops to support parameters as well.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/virtual-frame-arm.h ('k') | src/ia32/codegen-ia32.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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 645
646 // Methods used to indicate which source code is generated for. Source 646 // Methods used to indicate which source code is generated for. Source
647 // positions are collected by the assembler and emitted with the relocation 647 // positions are collected by the assembler and emitted with the relocation
648 // information. 648 // information.
649 void CodeForFunctionPosition(FunctionLiteral* fun); 649 void CodeForFunctionPosition(FunctionLiteral* fun);
650 void CodeForReturnPosition(FunctionLiteral* fun); 650 void CodeForReturnPosition(FunctionLiteral* fun);
651 void CodeForStatementPosition(Statement* stmt); 651 void CodeForStatementPosition(Statement* stmt);
652 void CodeForDoWhileConditionPosition(DoWhileStatement* stmt); 652 void CodeForDoWhileConditionPosition(DoWhileStatement* stmt);
653 void CodeForSourcePosition(int pos); 653 void CodeForSourcePosition(int pos);
654 654
655 void SetTypeForStackSlot(Slot* slot, NumberInfo info);
656
655 #ifdef DEBUG 657 #ifdef DEBUG
656 // True if the registers are valid for entry to a block. There should 658 // True if the registers are valid for entry to a block. There should
657 // be no frame-external references to (non-reserved) registers. 659 // be no frame-external references to (non-reserved) registers.
658 bool HasValidEntryRegisters(); 660 bool HasValidEntryRegisters();
659 #endif 661 #endif
660 662
661 ZoneList<DeferredCode*> deferred_; 663 ZoneList<DeferredCode*> deferred_;
662 664
663 // Assembler 665 // Assembler
664 MacroAssembler* masm_; // to generate code 666 MacroAssembler* masm_; // to generate code
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 return ObjectBits::encode(object_.code()) | 1046 return ObjectBits::encode(object_.code()) |
1045 AddressBits::encode(addr_.code()) | 1047 AddressBits::encode(addr_.code()) |
1046 ScratchBits::encode(scratch_.code()); 1048 ScratchBits::encode(scratch_.code());
1047 } 1049 }
1048 }; 1050 };
1049 1051
1050 1052
1051 } } // namespace v8::internal 1053 } } // namespace v8::internal
1052 1054
1053 #endif // V8_IA32_CODEGEN_IA32_H_ 1055 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/virtual-frame-arm.h ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698