OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/ast.h" | 9 #include "src/ast.h" |
10 #include "src/base/platform/platform.h" | 10 #include "src/base/platform/platform.h" |
(...skipping 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2002 ToBooleanStub::InstallDescriptors(this); | 2002 ToBooleanStub::InstallDescriptors(this); |
2003 ToNumberStub::InstallDescriptors(this); | 2003 ToNumberStub::InstallDescriptors(this); |
2004 ArrayConstructorStubBase::InstallDescriptors(this); | 2004 ArrayConstructorStubBase::InstallDescriptors(this); |
2005 InternalArrayConstructorStubBase::InstallDescriptors(this); | 2005 InternalArrayConstructorStubBase::InstallDescriptors(this); |
2006 FastNewClosureStub::InstallDescriptors(this); | 2006 FastNewClosureStub::InstallDescriptors(this); |
2007 FastNewContextStub::InstallDescriptors(this); | 2007 FastNewContextStub::InstallDescriptors(this); |
2008 NumberToStringStub::InstallDescriptors(this); | 2008 NumberToStringStub::InstallDescriptors(this); |
2009 StringAddStub::InstallDescriptors(this); | 2009 StringAddStub::InstallDescriptors(this); |
2010 RegExpConstructResultStub::InstallDescriptors(this); | 2010 RegExpConstructResultStub::InstallDescriptors(this); |
2011 KeyedLoadGenericElementStub::InstallDescriptors(this); | 2011 KeyedLoadGenericElementStub::InstallDescriptors(this); |
| 2012 GrowArrayElementsStub::InstallDescriptors(this); |
2012 } | 2013 } |
2013 | 2014 |
2014 CallDescriptors::InitializeForIsolate(this); | 2015 CallDescriptors::InitializeForIsolate(this); |
2015 | 2016 |
2016 initialized_from_snapshot_ = (des != NULL); | 2017 initialized_from_snapshot_ = (des != NULL); |
2017 | 2018 |
2018 return true; | 2019 return true; |
2019 } | 2020 } |
2020 | 2021 |
2021 | 2022 |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2362 // The simulator uses a separate JS stack. | 2363 // The simulator uses a separate JS stack. |
2363 Address jssp_address = Simulator::current(isolate_)->get_sp(); | 2364 Address jssp_address = Simulator::current(isolate_)->get_sp(); |
2364 uintptr_t jssp = reinterpret_cast<uintptr_t>(jssp_address); | 2365 uintptr_t jssp = reinterpret_cast<uintptr_t>(jssp_address); |
2365 if (jssp < stack_guard->real_jslimit()) return true; | 2366 if (jssp < stack_guard->real_jslimit()) return true; |
2366 #endif // USE_SIMULATOR | 2367 #endif // USE_SIMULATOR |
2367 return reinterpret_cast<uintptr_t>(this) < stack_guard->real_climit(); | 2368 return reinterpret_cast<uintptr_t>(this) < stack_guard->real_climit(); |
2368 } | 2369 } |
2369 | 2370 |
2370 | 2371 |
2371 } } // namespace v8::internal | 2372 } } // namespace v8::internal |
OLD | NEW |