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

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

Issue 5753005: Make closures optimizable by Crankshaft compiler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Next round Created 9 years, 11 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/hydrogen-instructions.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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 Runtime::Function* function = Runtime::FunctionForId(id); 168 Runtime::Function* function = Runtime::FunctionForId(id);
169 CallRuntime(function, num_arguments, instr); 169 CallRuntime(function, num_arguments, instr);
170 } 170 }
171 171
172 // Generate a direct call to a known function. Expects the function 172 // Generate a direct call to a known function. Expects the function
173 // to be in edi. 173 // to be in edi.
174 void CallKnownFunction(Handle<JSFunction> function, 174 void CallKnownFunction(Handle<JSFunction> function,
175 int arity, 175 int arity,
176 LInstruction* instr); 176 LInstruction* instr);
177 177
178 void LoadPrototype(Register result, Handle<JSObject> prototype); 178 void LoadHeapObject(Register result, Handle<HeapObject> object);
179 179
180 void RegisterLazyDeoptimization(LInstruction* instr); 180 void RegisterLazyDeoptimization(LInstruction* instr);
181 void RegisterEnvironmentForDeoptimization(LEnvironment* environment); 181 void RegisterEnvironmentForDeoptimization(LEnvironment* environment);
182 void DeoptimizeIf(Condition cc, LEnvironment* environment); 182 void DeoptimizeIf(Condition cc, LEnvironment* environment);
183 183
184 void AddToTranslation(Translation* translation, 184 void AddToTranslation(Translation* translation,
185 LOperand* op, 185 LOperand* op,
186 bool is_tagged); 186 bool is_tagged);
187 void PopulateDeoptimizationData(Handle<Code> code); 187 void PopulateDeoptimizationData(Handle<Code> code);
188 int DefineDeoptimizationLiteral(Handle<Object> literal); 188 int DefineDeoptimizationLiteral(Handle<Object> literal);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 private: 286 private:
287 LCodeGen* codegen_; 287 LCodeGen* codegen_;
288 Label entry_; 288 Label entry_;
289 Label exit_; 289 Label exit_;
290 Label* external_exit_; 290 Label* external_exit_;
291 }; 291 };
292 292
293 } } // namespace v8::internal 293 } } // namespace v8::internal
294 294
295 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 295 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698