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

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

Issue 22152003: Never hchange nan-hole to hole or hole to nan-hole. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Also change in header Created 7 years, 4 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-arm.cc ('k') | src/arm/lithium-codegen-arm.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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 CallKind call_kind, 273 CallKind call_kind,
274 R1State r1_state); 274 R1State r1_state);
275 275
276 void LoadHeapObject(Register result, Handle<HeapObject> object); 276 void LoadHeapObject(Register result, Handle<HeapObject> object);
277 277
278 void RecordSafepointWithLazyDeopt(LInstruction* instr, 278 void RecordSafepointWithLazyDeopt(LInstruction* instr,
279 SafepointMode safepoint_mode); 279 SafepointMode safepoint_mode);
280 280
281 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, 281 void RegisterEnvironmentForDeoptimization(LEnvironment* environment,
282 Safepoint::DeoptMode mode); 282 Safepoint::DeoptMode mode);
283 void DeoptimizeIf(Condition cc, 283 void DeoptimizeIf(Condition condition,
284 LEnvironment* environment, 284 LEnvironment* environment,
285 Deoptimizer::BailoutType bailout_type); 285 Deoptimizer::BailoutType bailout_type);
286 void DeoptimizeIf(Condition cc, LEnvironment* environment); 286 void DeoptimizeIf(Condition condition, LEnvironment* environment);
287 void ApplyCheckIf(Condition cc, LBoundsCheck* check); 287 void ApplyCheckIf(Condition condition, LBoundsCheck* check);
288 288
289 void AddToTranslation(LEnvironment* environment, 289 void AddToTranslation(LEnvironment* environment,
290 Translation* translation, 290 Translation* translation,
291 LOperand* op, 291 LOperand* op,
292 bool is_tagged, 292 bool is_tagged,
293 bool is_uint32, 293 bool is_uint32,
294 int* object_index_pointer, 294 int* object_index_pointer,
295 int* dematerialized_index_pointer); 295 int* dematerialized_index_pointer);
296 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 296 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
297 void PopulateDeoptimizationData(Handle<Code> code); 297 void PopulateDeoptimizationData(Handle<Code> code);
(...skipping 17 matching lines...) Expand all
315 int arguments, 315 int arguments,
316 Safepoint::DeoptMode mode); 316 Safepoint::DeoptMode mode);
317 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, 317 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers,
318 int arguments, 318 int arguments,
319 Safepoint::DeoptMode mode); 319 Safepoint::DeoptMode mode);
320 void RecordPosition(int position); 320 void RecordPosition(int position);
321 321
322 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 322 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
323 void EmitGoto(int block); 323 void EmitGoto(int block);
324 template<class InstrType> 324 template<class InstrType>
325 void EmitBranch(InstrType instr, Condition cc); 325 void EmitBranch(InstrType instr, Condition condition);
326 template<class InstrType>
327 void EmitFalseBranch(InstrType instr, Condition condition);
326 void EmitNumberUntagD(Register input, 328 void EmitNumberUntagD(Register input,
327 DwVfpRegister result, 329 DwVfpRegister result,
328 bool allow_undefined_as_nan, 330 bool allow_undefined_as_nan,
329 bool deoptimize_on_minus_zero, 331 bool deoptimize_on_minus_zero,
330 LEnvironment* env, 332 LEnvironment* env,
331 NumberUntagDMode mode); 333 NumberUntagDMode mode);
332 334
333 // Emits optimized code for typeof x == "y". Modifies input register. 335 // Emits optimized code for typeof x == "y". Modifies input register.
334 // Returns the condition on which a final split to 336 // Returns the condition on which a final split to
335 // true and false label should be made, to optimize fallthrough. 337 // true and false label should be made, to optimize fallthrough.
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 LCodeGen* codegen_; 496 LCodeGen* codegen_;
495 Label entry_; 497 Label entry_;
496 Label exit_; 498 Label exit_;
497 Label* external_exit_; 499 Label* external_exit_;
498 int instruction_index_; 500 int instruction_index_;
499 }; 501 };
500 502
501 } } // namespace v8::internal 503 } } // namespace v8::internal
502 504
503 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 505 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698