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

Side by Side Diff: src/objects.h

Issue 2908009: Create a separate class to encapsulate ScopeInfo serialization.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 5 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/heap.cc ('k') | src/objects-inl.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 3255 matching lines...) Expand 10 before | Expand all | Expand 10 after
3266 // shared by multiple instances of the function. 3266 // shared by multiple instances of the function.
3267 class SharedFunctionInfo: public HeapObject { 3267 class SharedFunctionInfo: public HeapObject {
3268 public: 3268 public:
3269 // [name]: Function name. 3269 // [name]: Function name.
3270 DECL_ACCESSORS(name, Object) 3270 DECL_ACCESSORS(name, Object)
3271 3271
3272 // [code]: Function code. 3272 // [code]: Function code.
3273 DECL_ACCESSORS(code, Code) 3273 DECL_ACCESSORS(code, Code)
3274 3274
3275 // [scope_info]: Scope info. 3275 // [scope_info]: Scope info.
3276 DECL_ACCESSORS(scope_info, Object) 3276 DECL_ACCESSORS(scope_info, SerializedScopeInfo)
3277 3277
3278 // [construct stub]: Code stub for constructing instances of this function. 3278 // [construct stub]: Code stub for constructing instances of this function.
3279 DECL_ACCESSORS(construct_stub, Code) 3279 DECL_ACCESSORS(construct_stub, Code)
3280 3280
3281 // Returns if this function has been compiled to native code yet. 3281 // Returns if this function has been compiled to native code yet.
3282 inline bool is_compiled(); 3282 inline bool is_compiled();
3283 3283
3284 // [length]: The function length - usually the number of declared parameters. 3284 // [length]: The function length - usually the number of declared parameters.
3285 // Use up to 2^30 parameters. 3285 // Use up to 2^30 parameters.
3286 inline int length(); 3286 inline int length();
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after
5360 } else { 5360 } else {
5361 value &= ~(1 << bit_position); 5361 value &= ~(1 << bit_position);
5362 } 5362 }
5363 return value; 5363 return value;
5364 } 5364 }
5365 }; 5365 };
5366 5366
5367 } } // namespace v8::internal 5367 } } // namespace v8::internal
5368 5368
5369 #endif // V8_OBJECTS_H_ 5369 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698