Skip to content

Commit

Permalink
update to chromium 89.0.4389.90
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed Mar 25, 2021
1 parent 46b67d7 commit 93c850f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion include/v8.h
Original file line number Diff line number Diff line change
Expand Up @@ -8496,7 +8496,6 @@ class V8_EXPORT Isolate {

void SetArrayBufferAllocatorShared(
std::shared_ptr<ArrayBuffer::Allocator> allocator);

/**
* Stack-allocated class which sets the isolate for all operations
* executed within a local scope.
Expand Down
1 change: 0 additions & 1 deletion src/snapshot/code-serializer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ MaybeHandle<SharedFunctionInfo> CodeSerializer::Deserialize(
if (!maybe_result.ToHandle(&result)) {
// Deserializing may fail if the reservations cannot be fulfilled.
if (FLAG_profile_deserialization) PrintF("[Deserializing failed]\n");
cached_data->Reject();
return MaybeHandle<SharedFunctionInfo>();
}

Expand Down
4 changes: 1 addition & 3 deletions src/snapshot/deserializer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,7 @@ Deserializer::Deserializer(Isolate* isolate, Vector<const byte> payload,
}
}
#endif // DEBUG
bool ret =
(magic_number_ == SerializedData::kMagicNumber);
valid_ = ret;
CHECK_EQ(magic_number_, SerializedData::kMagicNumber);
}

void Deserializer::Rehash() {
Expand Down
2 changes: 0 additions & 2 deletions src/snapshot/deserializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ class V8_EXPORT_PRIVATE Deserializer : public SerializerDeserializer {

Handle<HeapObject> ReadObject();

bool valid_ = true;

private:
class RelocInfoVisitor;
// A circular queue of hot objects. This is added to in the same order as in
Expand Down
2 changes: 0 additions & 2 deletions src/snapshot/object-deserializer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ ObjectDeserializer::DeserializeSharedFunctionInfoOffThread(

MaybeHandle<HeapObject> ObjectDeserializer::Deserialize() {
DCHECK(deserializing_user_code());
if (!valid_)
return MaybeHandle<HeapObject>();
HandleScope scope(isolate());
Handle<HeapObject> result;
{
Expand Down

0 comments on commit 93c850f

Please sign in to comment.