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

Side by Side Diff: src/mips/assembler-mips.h

Issue 10068006: MIPS: NaNs in the snapshot should be quiet according (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 8 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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 // Puts a labels target address at the given position. 563 // Puts a labels target address at the given position.
564 // The high 8 bits are set to zero. 564 // The high 8 bits are set to zero.
565 void label_at_put(Label* L, int at_offset); 565 void label_at_put(Label* L, int at_offset);
566 566
567 // Read/Modify the code target address in the branch/call instruction at pc. 567 // Read/Modify the code target address in the branch/call instruction at pc.
568 static Address target_address_at(Address pc); 568 static Address target_address_at(Address pc);
569 static void set_target_address_at(Address pc, Address target); 569 static void set_target_address_at(Address pc, Address target);
570 570
571 static void JumpLabelToJumpRegister(Address pc); 571 static void JumpLabelToJumpRegister(Address pc);
572 572
573 static void QuietNaN(HeapObject* nan);
574
573 // This sets the branch destination (which gets loaded at the call address). 575 // This sets the branch destination (which gets loaded at the call address).
574 // This is for calls and branches within generated code. The serializer 576 // This is for calls and branches within generated code. The serializer
575 // has already deserialized the lui/ori instructions etc. 577 // has already deserialized the lui/ori instructions etc.
576 inline static void deserialization_set_special_target_at( 578 inline static void deserialization_set_special_target_at(
577 Address instruction_payload, Address target) { 579 Address instruction_payload, Address target) {
578 set_target_address_at( 580 set_target_address_at(
579 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, 581 instruction_payload - kInstructionsFor32BitConstant * kInstrSize,
580 target); 582 target);
581 } 583 }
582 584
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 class EnsureSpace BASE_EMBEDDED { 1279 class EnsureSpace BASE_EMBEDDED {
1278 public: 1280 public:
1279 explicit EnsureSpace(Assembler* assembler) { 1281 explicit EnsureSpace(Assembler* assembler) {
1280 assembler->CheckBuffer(); 1282 assembler->CheckBuffer();
1281 } 1283 }
1282 }; 1284 };
1283 1285
1284 } } // namespace v8::internal 1286 } } // namespace v8::internal
1285 1287
1286 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1288 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/mips/assembler-mips.cc » ('j') | src/mips/assembler-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698