Skip to content

Commit

Permalink
Fix rebase artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
hashseed committed Jun 4, 2018
1 parent 26c0b94 commit c263d87
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions deps/v8/src/api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2634,7 +2634,6 @@ ScriptCompiler::CachedData* ScriptCompiler::CreateCodeCache(
i::Handle<i::SharedFunctionInfo> shared =
i::Handle<i::SharedFunctionInfo>::cast(
Utils::OpenHandle(*unbound_script));
i::Handle<i::String> source_str = Utils::OpenHandle(*source);
DCHECK(shared->is_toplevel());
return i::CodeSerializer::Serialize(shared);
}
Expand All @@ -2648,7 +2647,6 @@ ScriptCompiler::CachedData* ScriptCompiler::CreateCodeCacheForFunction(
Local<Function> function) {
i::Handle<i::SharedFunctionInfo> shared(
i::Handle<i::JSFunction>::cast(Utils::OpenHandle(*function))->shared());
i::Handle<i::String> source_str = Utils::OpenHandle(*source);
CHECK(shared->is_wrapped());
return i::CodeSerializer::Serialize(shared);
}
Expand Down
1 change: 0 additions & 1 deletion deps/v8/src/snapshot/code-serializer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ ScriptData::ScriptData(const byte* data, int length)
}
}

<<<<<<< HEAD
// static
ScriptCompiler::CachedData* CodeSerializer::Serialize(
Handle<SharedFunctionInfo> info) {
Expand Down
4 changes: 2 additions & 2 deletions deps/v8/src/snapshot/code-serializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class ScriptData {
class CodeSerializer : public Serializer<> {
public:
static ScriptCompiler::CachedData* Serialize(Handle<SharedFunctionInfo> info);
static ScriptData* SerializeSharedFunctionInfo(Handle<SharedFunctionInfo> info);
ScriptData* Serialize(Handle<HeapObject> obj);

ScriptData* SerializeSharedFunctionInfo(Handle<SharedFunctionInfo> info);

V8_WARN_UNUSED_RESULT static MaybeHandle<SharedFunctionInfo> Deserialize(
Isolate* isolate, ScriptData* cached_data, Handle<String> source);
Expand Down

0 comments on commit c263d87

Please sign in to comment.