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

Side by Side Diff: src/heap.cc

Issue 6113004: Version 3.0.7 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 11 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.h ('k') | src/heap-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 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 { MaybeObject* maybe_obj = CreateOddball("false", Smi::FromInt(0)); 2004 { MaybeObject* maybe_obj = CreateOddball("false", Smi::FromInt(0));
2005 if (!maybe_obj->ToObject(&obj)) return false; 2005 if (!maybe_obj->ToObject(&obj)) return false;
2006 } 2006 }
2007 set_false_value(obj); 2007 set_false_value(obj);
2008 2008
2009 { MaybeObject* maybe_obj = CreateOddball("hole", Smi::FromInt(-1)); 2009 { MaybeObject* maybe_obj = CreateOddball("hole", Smi::FromInt(-1));
2010 if (!maybe_obj->ToObject(&obj)) return false; 2010 if (!maybe_obj->ToObject(&obj)) return false;
2011 } 2011 }
2012 set_the_hole_value(obj); 2012 set_the_hole_value(obj);
2013 2013
2014 { MaybeObject* maybe_obj = CreateOddball("arguments_marker",
2015 Smi::FromInt(-4));
2016 if (!maybe_obj->ToObject(&obj)) return false;
2017 }
2018 set_arguments_marker(obj);
2019
2014 { MaybeObject* maybe_obj = 2020 { MaybeObject* maybe_obj =
2015 CreateOddball("no_interceptor_result_sentinel", Smi::FromInt(-2)); 2021 CreateOddball("no_interceptor_result_sentinel", Smi::FromInt(-2));
2016 if (!maybe_obj->ToObject(&obj)) return false; 2022 if (!maybe_obj->ToObject(&obj)) return false;
2017 } 2023 }
2018 set_no_interceptor_result_sentinel(obj); 2024 set_no_interceptor_result_sentinel(obj);
2019 2025
2020 { MaybeObject* maybe_obj = 2026 { MaybeObject* maybe_obj =
2021 CreateOddball("termination_exception", Smi::FromInt(-3)); 2027 CreateOddball("termination_exception", Smi::FromInt(-3));
2022 if (!maybe_obj->ToObject(&obj)) return false; 2028 if (!maybe_obj->ToObject(&obj)) return false;
2023 } 2029 }
(...skipping 3506 matching lines...) Expand 10 before | Expand all | Expand 10 after
5530 void ExternalStringTable::TearDown() { 5536 void ExternalStringTable::TearDown() {
5531 new_space_strings_.Free(); 5537 new_space_strings_.Free();
5532 old_space_strings_.Free(); 5538 old_space_strings_.Free();
5533 } 5539 }
5534 5540
5535 5541
5536 List<Object*> ExternalStringTable::new_space_strings_; 5542 List<Object*> ExternalStringTable::new_space_strings_;
5537 List<Object*> ExternalStringTable::old_space_strings_; 5543 List<Object*> ExternalStringTable::old_space_strings_;
5538 5544
5539 } } // namespace v8::internal 5545 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/heap.h ('k') | src/heap-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698