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

Side by Side Diff: src/objects.h

Issue 115106: Fix intermittent crashes caused by unexpected GCs in... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 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/objects.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 String* name, 1255 String* name,
1256 PropertyAttributes* attributes); 1256 PropertyAttributes* attributes);
1257 1257
1258 // Tells whether this object needs to be loaded. 1258 // Tells whether this object needs to be loaded.
1259 inline bool IsLoaded(); 1259 inline bool IsLoaded();
1260 1260
1261 bool HasProperty(String* name) { 1261 bool HasProperty(String* name) {
1262 return GetPropertyAttribute(name) != ABSENT; 1262 return GetPropertyAttribute(name) != ABSENT;
1263 } 1263 }
1264 1264
1265 // Can cause a GC if it hits an interceptor.
1265 bool HasLocalProperty(String* name) { 1266 bool HasLocalProperty(String* name) {
1266 return GetLocalPropertyAttribute(name) != ABSENT; 1267 return GetLocalPropertyAttribute(name) != ABSENT;
1267 } 1268 }
1268 1269
1269 Object* DeleteProperty(String* name); 1270 Object* DeleteProperty(String* name);
1270 Object* DeleteElement(uint32_t index); 1271 Object* DeleteElement(uint32_t index);
1271 Object* DeleteLazyProperty(LookupResult* result, String* name); 1272 Object* DeleteLazyProperty(LookupResult* result, String* name);
1272 1273
1273 // Tests for the fast common case for property enumeration. 1274 // Tests for the fast common case for property enumeration.
1274 bool IsSimpleEnum(); 1275 bool IsSimpleEnum();
(...skipping 3101 matching lines...) Expand 10 before | Expand all | Expand 10 after
4376 } else { 4377 } else {
4377 value &= ~(1 << bit_position); 4378 value &= ~(1 << bit_position);
4378 } 4379 }
4379 return value; 4380 return value;
4380 } 4381 }
4381 }; 4382 };
4382 4383
4383 } } // namespace v8::internal 4384 } } // namespace v8::internal
4384 4385
4385 #endif // V8_OBJECTS_H_ 4386 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698