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/ia32/lithium-codegen-ia32.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: 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
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 int GetNextEmittedBlock(int block); 183 int GetNextEmittedBlock(int block);
184 184
185 void EmitClassOfTest(Label* if_true, 185 void EmitClassOfTest(Label* if_true,
186 Label* if_false, 186 Label* if_false,
187 Handle<String> class_name, 187 Handle<String> class_name,
188 Register input, 188 Register input,
189 Register temporary, 189 Register temporary,
190 Register temporary2); 190 Register temporary2);
191 191
192 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 192 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
193 int GetParameterCount() const { return info()->num_parameters(); }
194 193
195 void Abort(const char* reason); 194 void Abort(const char* reason);
196 void Comment(const char* format, ...); 195 void Comment(const char* format, ...);
197 196
198 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 197 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
199 198
200 // Code generation passes. Returns true if code generation should 199 // Code generation passes. Returns true if code generation should
201 // continue. 200 // continue.
202 bool GeneratePrologue(); 201 bool GeneratePrologue();
203 bool GenerateBody(); 202 bool GenerateBody();
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 LCodeGen* codegen_; 465 LCodeGen* codegen_;
467 Label entry_; 466 Label entry_;
468 Label exit_; 467 Label exit_;
469 Label* external_exit_; 468 Label* external_exit_;
470 int instruction_index_; 469 int instruction_index_;
471 }; 470 };
472 471
473 } } // namespace v8::internal 472 } } // namespace v8::internal
474 473
475 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 474 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698