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

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

Issue 12613004: To fully support hydrogen code stubs which accept a variable number of arguments, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: The start environment for a hydrogen stub is initialized twice (fixed). Created 7 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/lithium-arm.cc ('k') | src/arm/lithium-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 LInstruction* GetNextInstruction(); 198 LInstruction* GetNextInstruction();
199 199
200 void EmitClassOfTest(Label* if_true, 200 void EmitClassOfTest(Label* if_true,
201 Label* if_false, 201 Label* if_false,
202 Handle<String> class_name, 202 Handle<String> class_name,
203 Register input, 203 Register input,
204 Register temporary, 204 Register temporary,
205 Register temporary2); 205 Register temporary2);
206 206
207 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 207 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
208 int GetParameterCount() const { return info()->num_parameters(); }
209 208
210 void Abort(const char* reason); 209 void Abort(const char* reason);
211 void Comment(const char* format, ...); 210 void Comment(const char* format, ...);
212 211
213 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 212 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
214 213
215 // Code generation passes. Returns true if code generation should 214 // Code generation passes. Returns true if code generation should
216 // continue. 215 // continue.
217 bool GeneratePrologue(); 216 bool GeneratePrologue();
218 bool GenerateBody(); 217 bool GenerateBody();
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 LCodeGen* codegen_; 503 LCodeGen* codegen_;
505 Label entry_; 504 Label entry_;
506 Label exit_; 505 Label exit_;
507 Label* external_exit_; 506 Label* external_exit_;
508 int instruction_index_; 507 int instruction_index_;
509 }; 508 };
510 509
511 } } // namespace v8::internal 510 } } // namespace v8::internal
512 511
513 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 512 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698