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/x64/lithium-codegen-x64.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/ia32/lithium-ia32.cc ('k') | src/x64/lithium-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 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int GetNextEmittedBlock(int block); 163 int GetNextEmittedBlock(int block);
164 164
165 void EmitClassOfTest(Label* if_true, 165 void EmitClassOfTest(Label* if_true,
166 Label* if_false, 166 Label* if_false,
167 Handle<String> class_name, 167 Handle<String> class_name,
168 Register input, 168 Register input,
169 Register temporary, 169 Register temporary,
170 Register scratch); 170 Register scratch);
171 171
172 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 172 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
173 int GetParameterCount() const { return info()->num_parameters(); }
174 173
175 void Abort(const char* reason); 174 void Abort(const char* reason);
176 void Comment(const char* format, ...); 175 void Comment(const char* format, ...);
177 176
178 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 177 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
179 178
180 // Code generation passes. Returns true if code generation should 179 // Code generation passes. Returns true if code generation should
181 // continue. 180 // continue.
182 bool GeneratePrologue(); 181 bool GeneratePrologue();
183 bool GenerateBody(); 182 bool GenerateBody();
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 LCodeGen* codegen_; 440 LCodeGen* codegen_;
442 Label entry_; 441 Label entry_;
443 Label exit_; 442 Label exit_;
444 Label* external_exit_; 443 Label* external_exit_;
445 int instruction_index_; 444 int instruction_index_;
446 }; 445 };
447 446
448 } } // namespace v8::internal 447 } } // namespace v8::internal
449 448
450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 449 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698