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

Side by Side Diff: src/assembler.h

Issue 6092007: Write buffer based write barrier for IA32 and Crankshaft. Currently... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 11 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/code-stubs.h » ('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 (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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 private: 145 private:
146 static const int kMaxUnresolvedBranches = 8; 146 static const int kMaxUnresolvedBranches = 8;
147 int pos_; 147 int pos_;
148 int unresolved_branches_; 148 int unresolved_branches_;
149 int unresolved_positions_[kMaxUnresolvedBranches]; 149 int unresolved_positions_[kMaxUnresolvedBranches];
150 150
151 friend class Assembler; 151 friend class Assembler;
152 }; 152 };
153 153
154 154
155 enum SaveFPRegsMode { kDontSaveFPRegs, kSaveFPRegs };
156
157
155 // ----------------------------------------------------------------------------- 158 // -----------------------------------------------------------------------------
156 // Relocation information 159 // Relocation information
157 160
158 161
159 // Relocation information consists of the address (pc) of the datum 162 // Relocation information consists of the address (pc) of the datum
160 // to which the relocation information applies, the relocation mode 163 // to which the relocation information applies, the relocation mode
161 // (rmode), and an optional data field. The relocation mode may be 164 // (rmode), and an optional data field. The relocation mode may be
162 // "descriptive" and not indicate a need for relocation, but simply 165 // "descriptive" and not indicate a need for relocation, but simply
163 // describe a property of the datum. Such rmodes are useful for GC 166 // describe a property of the datum. Such rmodes are useful for GC
164 // and nice disassembly output. 167 // and nice disassembly output.
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 return num_bits_set; 720 return num_bits_set;
718 } 721 }
719 722
720 // Computes pow(x, y) with the special cases in the spec for Math.pow. 723 // Computes pow(x, y) with the special cases in the spec for Math.pow.
721 double power_double_int(double x, int y); 724 double power_double_int(double x, int y);
722 double power_double_double(double x, double y); 725 double power_double_double(double x, double y);
723 726
724 } } // namespace v8::internal 727 } } // namespace v8::internal
725 728
726 #endif // V8_ASSEMBLER_H_ 729 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698