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

Side by Side Diff: src/heap.h

Issue 3031005: [Isolates] Avoid dereferencing Isolate::Current() to check oddball identities... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 10 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/handles.cc ('k') | src/heap.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 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 1302
1303 // These four Create*EntryStub functions are here because of a gcc-4.4 bug 1303 // These four Create*EntryStub functions are here because of a gcc-4.4 bug
1304 // that assigns wrong vtable entries. 1304 // that assigns wrong vtable entries.
1305 void CreateCEntryStub(); 1305 void CreateCEntryStub();
1306 void CreateJSEntryStub(); 1306 void CreateJSEntryStub();
1307 void CreateJSConstructEntryStub(); 1307 void CreateJSConstructEntryStub();
1308 void CreateRegExpCEntryStub(); 1308 void CreateRegExpCEntryStub();
1309 1309
1310 void CreateFixedStubs(); 1310 void CreateFixedStubs();
1311 1311
1312 Object* CreateOddball(const char* to_string, Object* to_number); 1312 Object* CreateOddball(const char* to_string, Object* to_number, byte kind);
1313 1313
1314 // Allocate empty fixed array. 1314 // Allocate empty fixed array.
1315 Object* AllocateEmptyFixedArray(); 1315 Object* AllocateEmptyFixedArray();
1316 1316
1317 // Performs a minor collection in new generation. 1317 // Performs a minor collection in new generation.
1318 void Scavenge(); 1318 void Scavenge();
1319 1319
1320 static String* UpdateNewSpaceReferenceInExternalStringTableEntry( 1320 static String* UpdateNewSpaceReferenceInExternalStringTableEntry(
1321 Object** pointer); 1321 Object** pointer);
1322 1322
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 SubCache* caches_[kNumberOfCaches]; 2035 SubCache* caches_[kNumberOfCaches];
2036 DISALLOW_COPY_AND_ASSIGN(TranscendentalCache); 2036 DISALLOW_COPY_AND_ASSIGN(TranscendentalCache);
2037 }; 2037 };
2038 2038
2039 2039
2040 } } // namespace v8::internal 2040 } } // namespace v8::internal
2041 2041
2042 #undef HEAP 2042 #undef HEAP
2043 2043
2044 #endif // V8_HEAP_H_ 2044 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698