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

Side by Side Diff: src/runtime.cc

Issue 3432032: Fix test after 64 bit heap size change. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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/regexp-macro-assembler-tracer.cc ('k') | src/spaces.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 6783 matching lines...) Expand 10 before | Expand all | Expand 10 after
6794 PrintF("<failure>"); 6794 PrintF("<failure>");
6795 } else if (obj->IsUndefined()) { 6795 } else if (obj->IsUndefined()) {
6796 PrintF("<undefined>"); 6796 PrintF("<undefined>");
6797 } else if (obj->IsNull()) { 6797 } else if (obj->IsNull()) {
6798 PrintF("<null>"); 6798 PrintF("<null>");
6799 } else if (obj->IsTrue()) { 6799 } else if (obj->IsTrue()) {
6800 PrintF("<true>"); 6800 PrintF("<true>");
6801 } else if (obj->IsFalse()) { 6801 } else if (obj->IsFalse()) {
6802 PrintF("<false>"); 6802 PrintF("<false>");
6803 } else { 6803 } else {
6804 PrintF("%p", obj); 6804 PrintF("%p", reinterpret_cast<void*>(obj));
6805 } 6805 }
6806 } 6806 }
6807 6807
6808 6808
6809 static int StackSize() { 6809 static int StackSize() {
6810 int n = 0; 6810 int n = 0;
6811 for (JavaScriptFrameIterator it; !it.done(); it.Advance()) n++; 6811 for (JavaScriptFrameIterator it; !it.done(); it.Advance()) n++;
6812 return n; 6812 return n;
6813 } 6813 }
6814 6814
(...skipping 3398 matching lines...) Expand 10 before | Expand all | Expand 10 after
10213 } else { 10213 } else {
10214 // Handle last resort GC and make sure to allow future allocations 10214 // Handle last resort GC and make sure to allow future allocations
10215 // to grow the heap without causing GCs (if possible). 10215 // to grow the heap without causing GCs (if possible).
10216 Counters::gc_last_resort_from_js.Increment(); 10216 Counters::gc_last_resort_from_js.Increment();
10217 Heap::CollectAllGarbage(false); 10217 Heap::CollectAllGarbage(false);
10218 } 10218 }
10219 } 10219 }
10220 10220
10221 10221
10222 } } // namespace v8::internal 10222 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-tracer.cc ('k') | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698