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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 int GetNextEmittedBlock(int block); 140 int GetNextEmittedBlock(int block);
141 LInstruction* GetNextInstruction(); 141 LInstruction* GetNextInstruction();
142 142
143 void EmitClassOfTest(Label* if_true, 143 void EmitClassOfTest(Label* if_true,
144 Label* if_false, 144 Label* if_false,
145 Handle<String> class_name, 145 Handle<String> class_name,
146 Register input, 146 Register input,
147 Register temporary, 147 Register temporary,
148 Register temporary2); 148 Register temporary2);
149 149
150 int StackSlotCount() const { return chunk()->spill_slot_count(); } 150 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
151 int ParameterCount() const { return scope()->num_parameters(); } 151 int GetParameterCount() const { return scope()->num_parameters(); }
152 152
153 void Abort(const char* format, ...); 153 void Abort(const char* format, ...);
154 void Comment(const char* format, ...); 154 void Comment(const char* format, ...);
155 155
156 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } 156 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); }
157 157
158 // Code generation passes. Returns true if code generation should 158 // Code generation passes. Returns true if code generation should
159 // continue. 159 // continue.
160 bool GeneratePrologue(); 160 bool GeneratePrologue();
161 bool GenerateBody(); 161 bool GenerateBody();
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 private: 361 private:
362 LCodeGen* codegen_; 362 LCodeGen* codegen_;
363 Label entry_; 363 Label entry_;
364 Label exit_; 364 Label exit_;
365 Label* external_exit_; 365 Label* external_exit_;
366 }; 366 };
367 367
368 } } // namespace v8::internal 368 } } // namespace v8::internal
369 369
370 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 370 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698