| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 2d6bc47b38c7caf2fbd9f42a5d2feb03f3f4feef..d09625c401a4a8ad0d27f5faae6cc54616c85b13 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1965,7 +1965,7 @@ bool Isolate::Init(Deserializer* des) {
|
| regexp_stack_->isolate_ = this;
|
| date_cache_ = new DateCache();
|
| code_stub_interface_descriptors_ =
|
| - new CodeStubInterfaceDescriptor*[CodeStub::NUMBER_OF_IDS];
|
| + new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS];
|
| memset(code_stub_interface_descriptors_, 0,
|
| kPointerSize * CodeStub::NUMBER_OF_IDS);
|
|
|
| @@ -2194,6 +2194,12 @@ void Isolate::UnlinkDeferredHandles(DeferredHandles* deferred) {
|
| }
|
|
|
|
|
| +CodeStubInterfaceDescriptor*
|
| + Isolate::code_stub_interface_descriptor(int index) {
|
| + return code_stub_interface_descriptors_ + index;
|
| +}
|
| +
|
| +
|
| #ifdef DEBUG
|
| #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
|
| const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
|
|
|