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

Side by Side Diff: src/objects-debug.cc

Issue 6793013: Cache optimized code on shared function info. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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/objects.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 VerifyObjectField(kNextFunctionLinkOffset); 326 VerifyObjectField(kNextFunctionLinkOffset);
327 CHECK(next_function_link()->IsUndefined() || 327 CHECK(next_function_link()->IsUndefined() ||
328 next_function_link()->IsJSFunction()); 328 next_function_link()->IsJSFunction());
329 } 329 }
330 330
331 331
332 void SharedFunctionInfo::SharedFunctionInfoVerify() { 332 void SharedFunctionInfo::SharedFunctionInfoVerify() {
333 CHECK(IsSharedFunctionInfo()); 333 CHECK(IsSharedFunctionInfo());
334 VerifyObjectField(kNameOffset); 334 VerifyObjectField(kNameOffset);
335 VerifyObjectField(kCodeOffset); 335 VerifyObjectField(kCodeOffset);
336 VerifyObjectField(kOptimizedCodeMapOffset);
336 VerifyObjectField(kScopeInfoOffset); 337 VerifyObjectField(kScopeInfoOffset);
337 VerifyObjectField(kInstanceClassNameOffset); 338 VerifyObjectField(kInstanceClassNameOffset);
338 VerifyObjectField(kFunctionDataOffset); 339 VerifyObjectField(kFunctionDataOffset);
339 VerifyObjectField(kScriptOffset); 340 VerifyObjectField(kScriptOffset);
340 VerifyObjectField(kDebugInfoOffset); 341 VerifyObjectField(kDebugInfoOffset);
341 } 342 }
342 343
343 344
344 void JSGlobalProxy::JSGlobalProxyVerify() { 345 void JSGlobalProxy::JSGlobalProxyVerify() {
345 CHECK(IsJSGlobalProxy()); 346 CHECK(IsJSGlobalProxy());
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 ASSERT(e->IsUndefined()); 714 ASSERT(e->IsUndefined());
714 } 715 }
715 } 716 }
716 } 717 }
717 } 718 }
718 719
719 720
720 #endif // DEBUG 721 #endif // DEBUG
721 722
722 } } // namespace v8::internal 723 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698