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

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

Issue 7248077: Use the information from the last recorded safepoint for the padding after the deferrred code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 5 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
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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 void RecordSafepoint(LPointerMap* pointers, 241 void RecordSafepoint(LPointerMap* pointers,
242 Safepoint::Kind kind, 242 Safepoint::Kind kind,
243 int arguments, 243 int arguments,
244 int deoptimization_index); 244 int deoptimization_index);
245 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); 245 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index);
246 void RecordSafepoint(int deoptimization_index); 246 void RecordSafepoint(int deoptimization_index);
247 void RecordSafepointWithRegisters(LPointerMap* pointers, 247 void RecordSafepointWithRegisters(LPointerMap* pointers,
248 int arguments, 248 int arguments,
249 int deoptimization_index); 249 int deoptimization_index);
250 void RecordPosition(int position); 250 void RecordPosition(int position);
251 int LastSafepointEnd() {
252 return static_cast<int>(safepoints_.GetPcAfterGap());
253 }
251 254
252 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 255 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
253 void EmitGoto(int block); 256 void EmitGoto(int block);
254 void EmitBranch(int left_block, int right_block, Condition cc); 257 void EmitBranch(int left_block, int right_block, Condition cc);
255 void EmitCmpI(LOperand* left, LOperand* right); 258 void EmitCmpI(LOperand* left, LOperand* right);
256 void EmitNumberUntagD(Register input, 259 void EmitNumberUntagD(Register input,
257 XMMRegister result, 260 XMMRegister result,
258 bool deoptimize_on_undefined, 261 bool deoptimize_on_undefined,
259 LEnvironment* env); 262 LEnvironment* env);
260 263
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 private: 363 private:
361 LCodeGen* codegen_; 364 LCodeGen* codegen_;
362 Label entry_; 365 Label entry_;
363 Label exit_; 366 Label exit_;
364 Label* external_exit_; 367 Label* external_exit_;
365 }; 368 };
366 369
367 } } // namespace v8::internal 370 } } // namespace v8::internal
368 371
369 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 372 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698