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

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

Issue 6534022: Optimize functions needing a local context.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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/deoptimizer-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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 void DoMathLog(LUnaryMathOperation* instr); 197 void DoMathLog(LUnaryMathOperation* instr);
198 void DoMathCos(LUnaryMathOperation* instr); 198 void DoMathCos(LUnaryMathOperation* instr);
199 void DoMathSin(LUnaryMathOperation* instr); 199 void DoMathSin(LUnaryMathOperation* instr);
200 200
201 // Support for recording safepoint and position information. 201 // Support for recording safepoint and position information.
202 void RecordSafepoint(LPointerMap* pointers, 202 void RecordSafepoint(LPointerMap* pointers,
203 Safepoint::Kind kind, 203 Safepoint::Kind kind,
204 int arguments, 204 int arguments,
205 int deoptimization_index); 205 int deoptimization_index);
206 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); 206 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index);
207 void RecordSafepoint(int deoptimization_index);
207 void RecordSafepointWithRegisters(LPointerMap* pointers, 208 void RecordSafepointWithRegisters(LPointerMap* pointers,
208 int arguments, 209 int arguments,
209 int deoptimization_index); 210 int deoptimization_index);
210 void RecordPosition(int position); 211 void RecordPosition(int position);
211 212
212 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 213 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
213 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); 214 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL);
214 void EmitBranch(int left_block, int right_block, Condition cc); 215 void EmitBranch(int left_block, int right_block, Condition cc);
215 void EmitCmpI(LOperand* left, LOperand* right); 216 void EmitCmpI(LOperand* left, LOperand* right);
216 void EmitNumberUntagD(Register input, XMMRegister result, LEnvironment* env); 217 void EmitNumberUntagD(Register input, XMMRegister result, LEnvironment* env);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 private: 287 private:
287 LCodeGen* codegen_; 288 LCodeGen* codegen_;
288 Label entry_; 289 Label entry_;
289 Label exit_; 290 Label exit_;
290 Label* external_exit_; 291 Label* external_exit_;
291 }; 292 };
292 293
293 } } // namespace v8::internal 294 } } // namespace v8::internal
294 295
295 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 296 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698