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

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

Issue 11085005: Merged r12362 into 3.12 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.12
Patch Set: Created 8 years, 2 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-codegen-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 277 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
278 void EmitGoto(int block); 278 void EmitGoto(int block);
279 void EmitBranch(int left_block, int right_block, Condition cc); 279 void EmitBranch(int left_block, int right_block, Condition cc);
280 void EmitNumberUntagD(Register input, 280 void EmitNumberUntagD(Register input,
281 Register temp, 281 Register temp,
282 XMMRegister result, 282 XMMRegister result,
283 bool deoptimize_on_undefined, 283 bool deoptimize_on_undefined,
284 bool deoptimize_on_minus_zero, 284 bool deoptimize_on_minus_zero,
285 LEnvironment* env); 285 LEnvironment* env);
286 286
287 void DeoptIfTaggedButNotSmi(LEnvironment* environment,
288 HValue* value,
289 LOperand* operand);
290
287 // Emits optimized code for typeof x == "y". Modifies input register. 291 // Emits optimized code for typeof x == "y". Modifies input register.
288 // Returns the condition on which a final split to 292 // Returns the condition on which a final split to
289 // true and false label should be made, to optimize fallthrough. 293 // true and false label should be made, to optimize fallthrough.
290 Condition EmitTypeofIs(Label* true_label, 294 Condition EmitTypeofIs(Label* true_label,
291 Label* false_label, 295 Label* false_label,
292 Register input, 296 Register input,
293 Handle<String> type_name); 297 Handle<String> type_name);
294 298
295 // Emits optimized code for %_IsObject(x). Preserves input register. 299 // Emits optimized code for %_IsObject(x). Preserves input register.
296 // Returns the condition on which a final split to 300 // Returns the condition on which a final split to
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 LCodeGen* codegen_; 414 LCodeGen* codegen_;
411 Label entry_; 415 Label entry_;
412 Label exit_; 416 Label exit_;
413 Label* external_exit_; 417 Label* external_exit_;
414 int instruction_index_; 418 int instruction_index_;
415 }; 419 };
416 420
417 } } // namespace v8::internal 421 } } // namespace v8::internal
418 422
419 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 423 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698