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

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

Issue 12208013: Separated smi check from HBoundsCheck. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed platform specific code. Created 7 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/lithium-ia32.cc ('k') | src/mips/lithium-codegen-mips.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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 Condition cc, 321 Condition cc,
322 FPURegister src1, 322 FPURegister src1,
323 FPURegister src2); 323 FPURegister src2);
324 void EmitCmpI(LOperand* left, LOperand* right); 324 void EmitCmpI(LOperand* left, LOperand* right);
325 void EmitNumberUntagD(Register input, 325 void EmitNumberUntagD(Register input,
326 DoubleRegister result, 326 DoubleRegister result,
327 bool deoptimize_on_undefined, 327 bool deoptimize_on_undefined,
328 bool deoptimize_on_minus_zero, 328 bool deoptimize_on_minus_zero,
329 LEnvironment* env); 329 LEnvironment* env);
330 330
331 void DeoptIfTaggedButNotSmi(LEnvironment* environment,
332 HValue* value,
333 LOperand* operand);
334
335 // Emits optimized code for typeof x == "y". Modifies input register. 331 // Emits optimized code for typeof x == "y". Modifies input register.
336 // Returns the condition on which a final split to 332 // Returns the condition on which a final split to
337 // true and false label should be made, to optimize fallthrough. 333 // true and false label should be made, to optimize fallthrough.
338 // Returns two registers in cmp1 and cmp2 that can be used in the 334 // Returns two registers in cmp1 and cmp2 that can be used in the
339 // Branch instruction after EmitTypeofIs. 335 // Branch instruction after EmitTypeofIs.
340 Condition EmitTypeofIs(Label* true_label, 336 Condition EmitTypeofIs(Label* true_label,
341 Label* false_label, 337 Label* false_label,
342 Register input, 338 Register input,
343 Handle<String> type_name, 339 Handle<String> type_name,
344 Register& cmp1, 340 Register& cmp1,
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 LCodeGen* codegen_; 497 LCodeGen* codegen_;
502 Label entry_; 498 Label entry_;
503 Label exit_; 499 Label exit_;
504 Label* external_exit_; 500 Label* external_exit_;
505 int instruction_index_; 501 int instruction_index_;
506 }; 502 };
507 503
508 } } // namespace v8::internal 504 } } // namespace v8::internal
509 505
510 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698