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

Side by Side Diff: src/bootstrapper.cc

Issue 218993005: Tighten object verification. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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/api.cc ('k') | src/objects.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "bootstrapper.h" 5 #include "bootstrapper.h"
6 6
7 #include "accessors.h" 7 #include "accessors.h"
8 #include "isolate-inl.h" 8 #include "isolate-inl.h"
9 #include "natives.h" 9 #include "natives.h"
10 #include "snapshot.h" 10 #include "snapshot.h"
(...skipping 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after
1993 } 1993 }
1994 1994
1995 initial_map->set_inobject_properties(2); 1995 initial_map->set_inobject_properties(2);
1996 initial_map->set_pre_allocated_property_fields(2); 1996 initial_map->set_pre_allocated_property_fields(2);
1997 initial_map->set_unused_property_fields(0); 1997 initial_map->set_unused_property_fields(0);
1998 1998
1999 native_context()->set_regexp_result_map(*initial_map); 1999 native_context()->set_regexp_result_map(*initial_map);
2000 } 2000 }
2001 2001
2002 #ifdef VERIFY_HEAP 2002 #ifdef VERIFY_HEAP
2003 builtins->Verify(); 2003 builtins->ObjectVerify();
2004 #endif 2004 #endif
2005 2005
2006 return true; 2006 return true;
2007 } 2007 }
2008 2008
2009 2009
2010 #define INSTALL_EXPERIMENTAL_NATIVE(i, flag, file) \ 2010 #define INSTALL_EXPERIMENTAL_NATIVE(i, flag, file) \
2011 if (FLAG_harmony_##flag && \ 2011 if (FLAG_harmony_##flag && \
2012 strcmp(ExperimentalNatives::GetScriptName(i).start(), \ 2012 strcmp(ExperimentalNatives::GetScriptName(i).start(), \
2013 "native " file) == 0) { \ 2013 "native " file) == 0) { \
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
2722 return from + sizeof(NestingCounterType); 2722 return from + sizeof(NestingCounterType);
2723 } 2723 }
2724 2724
2725 2725
2726 // Called when the top-level V8 mutex is destroyed. 2726 // Called when the top-level V8 mutex is destroyed.
2727 void Bootstrapper::FreeThreadResources() { 2727 void Bootstrapper::FreeThreadResources() {
2728 ASSERT(!IsActive()); 2728 ASSERT(!IsActive());
2729 } 2729 }
2730 2730
2731 } } // namespace v8::internal 2731 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698