| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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 | 
| OLD | NEW | 
|---|