Skip to content

Commit

Permalink
去掉ENTER_V8_NO_SCRIPT_NO_EXCEPTION(i_isolate);
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jun 30, 2022
1 parent 0dbe1ae commit a12fe53
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion add_arraybuffer_new_without_stl.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ V8_EXPORT Local<ArrayBuffer> ArrayBuffer_New_Without_Stl(Isolate* isolate,
CHECK_IMPLIES(byte_length != 0, data != nullptr);
CHECK_LE(byte_length, i::JSArrayBuffer::kMaxByteLength);
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
ENTER_V8_NO_SCRIPT_NO_EXCEPTION(i_isolate);
std::shared_ptr<i::BackingStore> backing_store = LookupOrCreateBackingStore(
i_isolate, data, byte_length, i::SharedFlag::kNotShared, ArrayBufferCreationMode::kExternalized);
Expand Down

0 comments on commit a12fe53

Please sign in to comment.