Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index a8662d06f29265bf9c82a0d05c302729033f26f1..c7ebc7714f57a052f99964e44e412a2d66770c7d 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1536,10 +1536,7 @@ void ObjectTemplate::SetInternalFieldCount(int value) { |
ScriptCompiler::CachedData::CachedData(const uint8_t* data_, int length_, |
BufferPolicy buffer_policy_) |
- : data(data_), |
- length(length_), |
- rejected(false), |
- buffer_policy(buffer_policy_) {} |
+ : data(data_), length(length_), buffer_policy(buffer_policy_) {} |
ScriptCompiler::CachedData::~CachedData() { |
@@ -1755,8 +1752,6 @@ Local<UnboundScript> ScriptCompiler::CompileUnbound( |
source->cached_data = new CachedData( |
script_data->data(), script_data->length(), CachedData::BufferOwned); |
script_data->ReleaseDataOwnership(); |
- } else if (options == kConsumeParserCache || options == kConsumeCodeCache) { |
- source->cached_data->rejected = script_data->rejected(); |
} |
delete script_data; |
} |