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

Side by Side Diff: include/v8.h

Issue 335009: New snapshot framework. Doesn't work on ARM yet (code targets... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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/arm/assembler-arm.h » ('j') | src/heap.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2009 the V8 project authors. All rights reserved. 1 // Copyright 2007-2009 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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 static internal::Object** CreateHandle(internal::Object* value); 445 static internal::Object** CreateHandle(internal::Object* value);
446 446
447 private: 447 private:
448 // Make it impossible to create heap-allocated or illegal handle 448 // Make it impossible to create heap-allocated or illegal handle
449 // scopes by disallowing certain operations. 449 // scopes by disallowing certain operations.
450 HandleScope(const HandleScope&); 450 HandleScope(const HandleScope&);
451 void operator=(const HandleScope&); 451 void operator=(const HandleScope&);
452 void* operator new(size_t size); 452 void* operator new(size_t size);
453 void operator delete(void*, size_t); 453 void operator delete(void*, size_t);
454 454
455 // This Data class is accessible internally through a typedef in the 455 // This Data class is accessible internally as HandleScopeData through a
456 // ImplementationUtilities class. 456 // typedef in the ImplementationUtilities class.
457 class V8EXPORT Data { 457 class V8EXPORT Data {
458 public: 458 public:
459 int extensions; 459 int extensions;
460 internal::Object** next; 460 internal::Object** next;
461 internal::Object** limit; 461 internal::Object** limit;
462 inline void Initialize() { 462 inline void Initialize() {
463 extensions = -1; 463 extensions = -1;
464 next = limit = NULL; 464 next = limit = NULL;
465 } 465 }
466 }; 466 };
(...skipping 2727 matching lines...) Expand 10 before | Expand all | Expand 10 after
3194 3194
3195 } // namespace v8 3195 } // namespace v8
3196 3196
3197 3197
3198 #undef V8EXPORT 3198 #undef V8EXPORT
3199 #undef V8EXPORT_INLINE 3199 #undef V8EXPORT_INLINE
3200 #undef TYPE_CHECK 3200 #undef TYPE_CHECK
3201 3201
3202 3202
3203 #endif // V8_H_ 3203 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.h » ('j') | src/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698