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

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

Issue 6869005: Land Kevin's patch for supporting %_CallFunction in Crankshaft. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 8 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 int GetNextEmittedBlock(int block); 151 int GetNextEmittedBlock(int block);
152 LInstruction* GetNextInstruction(); 152 LInstruction* GetNextInstruction();
153 153
154 void EmitClassOfTest(Label* if_true, 154 void EmitClassOfTest(Label* if_true,
155 Label* if_false, 155 Label* if_false,
156 Handle<String> class_name, 156 Handle<String> class_name,
157 Register input, 157 Register input,
158 Register temporary, 158 Register temporary,
159 Register temporary2); 159 Register temporary2);
160 160
161 int StackSlotCount() const { return chunk()->spill_slot_count(); } 161 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
162 int ParameterCount() const { return scope()->num_parameters(); } 162 int GetParameterCount() const { return scope()->num_parameters(); }
163 163
164 void Abort(const char* format, ...); 164 void Abort(const char* format, ...);
165 void Comment(const char* format, ...); 165 void Comment(const char* format, ...);
166 166
167 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } 167 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); }
168 168
169 // Code generation passes. Returns true if code generation should 169 // Code generation passes. Returns true if code generation should
170 // continue. 170 // continue.
171 bool GeneratePrologue(); 171 bool GeneratePrologue();
172 bool GenerateBody(); 172 bool GenerateBody();
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 private: 381 private:
382 LCodeGen* codegen_; 382 LCodeGen* codegen_;
383 Label entry_; 383 Label entry_;
384 Label exit_; 384 Label exit_;
385 Label* external_exit_; 385 Label* external_exit_;
386 }; 386 };
387 387
388 } } // namespace v8::internal 388 } } // namespace v8::internal
389 389
390 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 390 #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