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

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

Issue 7830: Fix style issues. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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/top.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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 context()->ShortPrint(); 565 context()->ShortPrint();
566 PrintF("\n"); 566 PrintF("\n");
567 } 567 }
568 568
569 569
570 void JSGlobalProxy::JSGlobalProxyVerify() { 570 void JSGlobalProxy::JSGlobalProxyVerify() {
571 CHECK(IsJSGlobalProxy()); 571 CHECK(IsJSGlobalProxy());
572 JSObjectVerify(); 572 JSObjectVerify();
573 VerifyObjectField(JSGlobalProxy::kContextOffset); 573 VerifyObjectField(JSGlobalProxy::kContextOffset);
574 // Make sure that this object has no properties, elements. 574 // Make sure that this object has no properties, elements.
575 CHECK(properties()->length() == 0); 575 CHECK_EQ(0, properties()->length());
576 CHECK(elements()->length() == 0); 576 CHECK_EQ(0, elements()->length());
577 } 577 }
578 578
579 579
580 void JSGlobalObject::JSGlobalObjectPrint() { 580 void JSGlobalObject::JSGlobalObjectPrint() {
581 PrintF("global "); 581 PrintF("global ");
582 JSObjectPrint(); 582 JSObjectPrint();
583 PrintF("global context : "); 583 PrintF("global context : ");
584 global_context()->ShortPrint(); 584 global_context()->ShortPrint();
585 PrintF("\n"); 585 PrintF("\n");
586 } 586 }
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 } 1044 }
1045 current = hash; 1045 current = hash;
1046 } 1046 }
1047 return true; 1047 return true;
1048 } 1048 }
1049 1049
1050 1050
1051 #endif // DEBUG 1051 #endif // DEBUG
1052 1052
1053 } } // namespace v8::internal 1053 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/top.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698