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

Side by Side Diff: src/assembler.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
« no previous file with comments | « no previous file | src/mips/assembler-mips.h » ('j') | src/mips/assembler-mips.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // ----------------------------------------------------------------------------- 55 // -----------------------------------------------------------------------------
56 // Platform independent assembler base class. 56 // Platform independent assembler base class.
57 57
58 class AssemblerBase: public Malloced { 58 class AssemblerBase: public Malloced {
59 public: 59 public:
60 explicit AssemblerBase(Isolate* isolate); 60 explicit AssemblerBase(Isolate* isolate);
61 61
62 Isolate* isolate() const { return isolate_; } 62 Isolate* isolate() const { return isolate_; }
63 int jit_cookie() { return jit_cookie_; } 63 int jit_cookie() { return jit_cookie_; }
64 64
65 // Overwrite a host NaN with a quiet target NaN. Used by mksnapshot for
66 // cross-snapshotting.
67 static void QuietNaN(HeapObject* nan) { }
68
65 private: 69 private:
66 Isolate* isolate_; 70 Isolate* isolate_;
67 int jit_cookie_; 71 int jit_cookie_;
68 }; 72 };
69 73
70 74
71 // ----------------------------------------------------------------------------- 75 // -----------------------------------------------------------------------------
72 // Labels represent pc locations; they are typically jump or call targets. 76 // Labels represent pc locations; they are typically jump or call targets.
73 // After declaration, a label can be freely used to denote known or (yet) 77 // After declaration, a label can be freely used to denote known or (yet)
74 // unknown pc location. Assembler::bind() is used to bind a label to the 78 // unknown pc location. Assembler::bind() is used to bind a label to the
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 public: 876 public:
873 NullCallWrapper() { } 877 NullCallWrapper() { }
874 virtual ~NullCallWrapper() { } 878 virtual ~NullCallWrapper() { }
875 virtual void BeforeCall(int call_size) const { } 879 virtual void BeforeCall(int call_size) const { }
876 virtual void AfterCall() const { } 880 virtual void AfterCall() const { }
877 }; 881 };
878 882
879 } } // namespace v8::internal 883 } } // namespace v8::internal
880 884
881 #endif // V8_ASSEMBLER_H_ 885 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/assembler-mips.h » ('j') | src/mips/assembler-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698