OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 stub.InitializeInterfaceDescriptor( | 2105 stub.InitializeInterfaceDescriptor( |
2106 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); | 2106 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); |
2107 BinaryOpICStub::InstallDescriptors(this); | 2107 BinaryOpICStub::InstallDescriptors(this); |
2108 BinaryOpWithAllocationSiteStub::InstallDescriptors(this); | 2108 BinaryOpWithAllocationSiteStub::InstallDescriptors(this); |
2109 CompareNilICStub::InitializeForIsolate(this); | 2109 CompareNilICStub::InitializeForIsolate(this); |
2110 ToBooleanStub::InitializeForIsolate(this); | 2110 ToBooleanStub::InitializeForIsolate(this); |
2111 ArrayConstructorStubBase::InstallDescriptors(this); | 2111 ArrayConstructorStubBase::InstallDescriptors(this); |
2112 InternalArrayConstructorStubBase::InstallDescriptors(this); | 2112 InternalArrayConstructorStubBase::InstallDescriptors(this); |
2113 FastNewClosureStub::InstallDescriptors(this); | 2113 FastNewClosureStub::InstallDescriptors(this); |
2114 NumberToStringStub::InstallDescriptors(this); | 2114 NumberToStringStub::InstallDescriptors(this); |
2115 NewStringAddStub::InstallDescriptors(this); | 2115 StringAddStub::InstallDescriptors(this); |
2116 } | 2116 } |
2117 | 2117 |
2118 CallDescriptors::InitializeForIsolate(this); | 2118 CallDescriptors::InitializeForIsolate(this); |
2119 | 2119 |
2120 initialized_from_snapshot_ = (des != NULL); | 2120 initialized_from_snapshot_ = (des != NULL); |
2121 | 2121 |
2122 return true; | 2122 return true; |
2123 } | 2123 } |
2124 | 2124 |
2125 | 2125 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2308 | 2308 |
2309 #ifdef DEBUG | 2309 #ifdef DEBUG |
2310 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2310 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2311 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2311 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2312 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2312 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2313 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2313 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2314 #undef ISOLATE_FIELD_OFFSET | 2314 #undef ISOLATE_FIELD_OFFSET |
2315 #endif | 2315 #endif |
2316 | 2316 |
2317 } } // namespace v8::internal | 2317 } } // namespace v8::internal |
OLD | NEW |