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

Side by Side Diff: src/assembler.h

Issue 7607031: Update gc branch to bleeding_edge revision 8862. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Fix bug in weak-map merge Created 9 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/stub-cache-arm.cc ('k') | src/assembler.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 (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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // location of a stack frame as close as possible. The "statement position" is 167 // location of a stack frame as close as possible. The "statement position" is
168 // collected at the beginning at each statement, and is used to indicate 168 // collected at the beginning at each statement, and is used to indicate
169 // possible break locations. kNoPosition is used to indicate an 169 // possible break locations. kNoPosition is used to indicate an
170 // invalid/uninitialized position value. 170 // invalid/uninitialized position value.
171 static const int kNoPosition = -1; 171 static const int kNoPosition = -1;
172 172
173 // This string is used to add padding comments to the reloc info in cases 173 // This string is used to add padding comments to the reloc info in cases
174 // where we are not sure to have enough space for patching in during 174 // where we are not sure to have enough space for patching in during
175 // lazy deoptimization. This is the case if we have indirect calls for which 175 // lazy deoptimization. This is the case if we have indirect calls for which
176 // we do not normally record relocation info. 176 // we do not normally record relocation info.
177 static const char* kFillerCommentString; 177 static const char* const kFillerCommentString;
178 178
179 // The minimum size of a comment is equal to three bytes for the extra tagged 179 // The minimum size of a comment is equal to three bytes for the extra tagged
180 // pc + the tag for the data, and kPointerSize for the actual pointer to the 180 // pc + the tag for the data, and kPointerSize for the actual pointer to the
181 // comment. 181 // comment.
182 static const int kMinRelocCommentSize = 3 + kPointerSize; 182 static const int kMinRelocCommentSize = 3 + kPointerSize;
183 183
184 // The maximum size for a call instruction including pc-jump. 184 // The maximum size for a call instruction including pc-jump.
185 static const int kMaxCallSize = 6; 185 static const int kMaxCallSize = 6;
186 186
187 // The maximum pc delta that will use the short encoding. 187 // The maximum pc delta that will use the short encoding.
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 public: 868 public:
869 NullCallWrapper() { } 869 NullCallWrapper() { }
870 virtual ~NullCallWrapper() { } 870 virtual ~NullCallWrapper() { }
871 virtual void BeforeCall(int call_size) const { } 871 virtual void BeforeCall(int call_size) const { }
872 virtual void AfterCall() const { } 872 virtual void AfterCall() const { }
873 }; 873 };
874 874
875 } } // namespace v8::internal 875 } } // namespace v8::internal
876 876
877 #endif // V8_ASSEMBLER_H_ 877 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/stub-cache-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698