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

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

Issue 5140002: Generate inline code for contextual loads on ARM.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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/arm/assembler-arm-inl.h ('k') | src/arm/codegen-arm.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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // ------------------------------------------------------------------------- 187 // -------------------------------------------------------------------------
188 // Arguments allocation mode 188 // Arguments allocation mode
189 189
190 enum ArgumentsAllocationMode { 190 enum ArgumentsAllocationMode {
191 NO_ARGUMENTS_ALLOCATION, 191 NO_ARGUMENTS_ALLOCATION,
192 EAGER_ARGUMENTS_ALLOCATION, 192 EAGER_ARGUMENTS_ALLOCATION,
193 LAZY_ARGUMENTS_ALLOCATION 193 LAZY_ARGUMENTS_ALLOCATION
194 }; 194 };
195 195
196 196
197 // Different nop operations are used by the code generator to detect certain
198 // states of the generated code.
199 enum NopMarkerTypes {
200 NON_MARKING_NOP = 0,
201 PROPERTY_ACCESS_INLINED
202 };
203
204
205 // ------------------------------------------------------------------------- 197 // -------------------------------------------------------------------------
206 // CodeGenerator 198 // CodeGenerator
207 199
208 class CodeGenerator: public AstVisitor { 200 class CodeGenerator: public AstVisitor {
209 public: 201 public:
210 static bool MakeCode(CompilationInfo* info); 202 static bool MakeCode(CompilationInfo* info);
211 203
212 // Printing of AST, etc. as requested by flags. 204 // Printing of AST, etc. as requested by flags.
213 static void MakeCodePrologue(CompilationInfo* info); 205 static void MakeCodePrologue(CompilationInfo* info);
214 206
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 friend class FullCodeGenerator; 579 friend class FullCodeGenerator;
588 friend class FullCodeGenSyntaxChecker; 580 friend class FullCodeGenSyntaxChecker;
589 581
590 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 582 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
591 }; 583 };
592 584
593 585
594 } } // namespace v8::internal 586 } } // namespace v8::internal
595 587
596 #endif // V8_ARM_CODEGEN_ARM_H_ 588 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm-inl.h ('k') | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698