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 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1987 ToBooleanStub::InstallDescriptors(this); | 1987 ToBooleanStub::InstallDescriptors(this); |
1988 ToNumberStub::InstallDescriptors(this); | 1988 ToNumberStub::InstallDescriptors(this); |
1989 ArrayConstructorStubBase::InstallDescriptors(this); | 1989 ArrayConstructorStubBase::InstallDescriptors(this); |
1990 InternalArrayConstructorStubBase::InstallDescriptors(this); | 1990 InternalArrayConstructorStubBase::InstallDescriptors(this); |
1991 FastNewClosureStub::InstallDescriptors(this); | 1991 FastNewClosureStub::InstallDescriptors(this); |
1992 FastNewContextStub::InstallDescriptors(this); | 1992 FastNewContextStub::InstallDescriptors(this); |
1993 NumberToStringStub::InstallDescriptors(this); | 1993 NumberToStringStub::InstallDescriptors(this); |
1994 StringAddStub::InstallDescriptors(this); | 1994 StringAddStub::InstallDescriptors(this); |
1995 RegExpConstructResultStub::InstallDescriptors(this); | 1995 RegExpConstructResultStub::InstallDescriptors(this); |
1996 KeyedLoadGenericElementStub::InstallDescriptors(this); | 1996 KeyedLoadGenericElementStub::InstallDescriptors(this); |
| 1997 GrowArrayElementsStub::InstallDescriptors(this); |
1997 } | 1998 } |
1998 | 1999 |
1999 CallDescriptors::InitializeForIsolate(this); | 2000 CallDescriptors::InitializeForIsolate(this); |
2000 | 2001 |
2001 initialized_from_snapshot_ = (des != NULL); | 2002 initialized_from_snapshot_ = (des != NULL); |
2002 | 2003 |
2003 return true; | 2004 return true; |
2004 } | 2005 } |
2005 | 2006 |
2006 | 2007 |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2351 if (prev_ && prev_->Intercept(flag)) return true; | 2352 if (prev_ && prev_->Intercept(flag)) return true; |
2352 // Then check whether this scope intercepts. | 2353 // Then check whether this scope intercepts. |
2353 if ((flag & intercept_mask_)) { | 2354 if ((flag & intercept_mask_)) { |
2354 intercepted_flags_ |= flag; | 2355 intercepted_flags_ |= flag; |
2355 return true; | 2356 return true; |
2356 } | 2357 } |
2357 return false; | 2358 return false; |
2358 } | 2359 } |
2359 | 2360 |
2360 } } // namespace v8::internal | 2361 } } // namespace v8::internal |
OLD | NEW |