| 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 2035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2046 ToNumberStub::InstallDescriptors(this); | 2046 ToNumberStub::InstallDescriptors(this); |
| 2047 ArrayConstructorStubBase::InstallDescriptors(this); | 2047 ArrayConstructorStubBase::InstallDescriptors(this); |
| 2048 InternalArrayConstructorStubBase::InstallDescriptors(this); | 2048 InternalArrayConstructorStubBase::InstallDescriptors(this); |
| 2049 FastNewClosureStub::InstallDescriptors(this); | 2049 FastNewClosureStub::InstallDescriptors(this); |
| 2050 FastNewContextStub::InstallDescriptors(this); | 2050 FastNewContextStub::InstallDescriptors(this); |
| 2051 NumberToStringStub::InstallDescriptors(this); | 2051 NumberToStringStub::InstallDescriptors(this); |
| 2052 StringAddStub::InstallDescriptors(this); | 2052 StringAddStub::InstallDescriptors(this); |
| 2053 RegExpConstructResultStub::InstallDescriptors(this); | 2053 RegExpConstructResultStub::InstallDescriptors(this); |
| 2054 KeyedLoadGenericStub::InstallDescriptors(this); | 2054 KeyedLoadGenericStub::InstallDescriptors(this); |
| 2055 StoreFieldStub::InstallDescriptors(this); | 2055 StoreFieldStub::InstallDescriptors(this); |
| 2056 LoadFastElementStub::InstallDescriptors(this); |
| 2056 } | 2057 } |
| 2057 | 2058 |
| 2058 CallDescriptors::InitializeForIsolate(this); | 2059 CallDescriptors::InitializeForIsolate(this); |
| 2059 | 2060 |
| 2060 initialized_from_snapshot_ = (des != NULL); | 2061 initialized_from_snapshot_ = (des != NULL); |
| 2061 | 2062 |
| 2062 return true; | 2063 return true; |
| 2063 } | 2064 } |
| 2064 | 2065 |
| 2065 | 2066 |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2416 if (prev_ && prev_->Intercept(flag)) return true; | 2417 if (prev_ && prev_->Intercept(flag)) return true; |
| 2417 // Then check whether this scope intercepts. | 2418 // Then check whether this scope intercepts. |
| 2418 if ((flag & intercept_mask_)) { | 2419 if ((flag & intercept_mask_)) { |
| 2419 intercepted_flags_ |= flag; | 2420 intercepted_flags_ |= flag; |
| 2420 return true; | 2421 return true; |
| 2421 } | 2422 } |
| 2422 return false; | 2423 return false; |
| 2423 } | 2424 } |
| 2424 | 2425 |
| 2425 } } // namespace v8::internal | 2426 } } // namespace v8::internal |
| OLD | NEW |