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

Side by Side Diff: src/x64/lithium-codegen-x64.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/version.cc ('k') | src/x64/lithium-codegen-x64.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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 265 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
266 void EmitGoto(int block); 266 void EmitGoto(int block);
267 void EmitBranch(int left_block, int right_block, Condition cc); 267 void EmitBranch(int left_block, int right_block, Condition cc);
268 void EmitNumberUntagD(Register input, 268 void EmitNumberUntagD(Register input,
269 XMMRegister result, 269 XMMRegister result,
270 bool deoptimize_on_undefined, 270 bool deoptimize_on_undefined,
271 bool deoptimize_on_minus_zero, 271 bool deoptimize_on_minus_zero,
272 LEnvironment* env); 272 LEnvironment* env);
273 273
274
275 void DeoptIfTaggedButNotSmi(LEnvironment* environment,
276 HValue* value,
277 LOperand* operand);
278
274 // Emits optimized code for typeof x == "y". Modifies input register. 279 // Emits optimized code for typeof x == "y". Modifies input register.
275 // Returns the condition on which a final split to 280 // Returns the condition on which a final split to
276 // true and false label should be made, to optimize fallthrough. 281 // true and false label should be made, to optimize fallthrough.
277 Condition EmitTypeofIs(Label* true_label, 282 Condition EmitTypeofIs(Label* true_label,
278 Label* false_label, 283 Label* false_label,
279 Register input, 284 Register input,
280 Handle<String> type_name); 285 Handle<String> type_name);
281 286
282 // Emits optimized code for %_IsObject(x). Preserves input register. 287 // Emits optimized code for %_IsObject(x). Preserves input register.
283 // Returns the condition on which a final split to 288 // Returns the condition on which a final split to
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 LCodeGen* codegen_; 409 LCodeGen* codegen_;
405 Label entry_; 410 Label entry_;
406 Label exit_; 411 Label exit_;
407 Label* external_exit_; 412 Label* external_exit_;
408 int instruction_index_; 413 int instruction_index_;
409 }; 414 };
410 415
411 } } // namespace v8::internal 416 } } // namespace v8::internal
412 417
413 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 418 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/version.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698