Skip to content

Commit

Permalink
src: remove unused http2_socket_buffer from env
Browse files Browse the repository at this point in the history
PR-URL: #14740
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
addaleax committed Aug 14, 2017
1 parent 92c37fe commit 59d1d56
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions src/env-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ inline Environment::Environment(IsolateData* isolate_data,
#endif
handle_cleanup_waiting_(0),
http_parser_buffer_(nullptr),
http2_socket_buffer_(nullptr),
fs_stats_field_array_(nullptr),
context_(context->GetIsolate(), context) {
// We'll be creating new objects so make sure we've entered the context.
Expand All @@ -330,7 +329,6 @@ inline Environment::~Environment() {
delete[] heap_statistics_buffer_;
delete[] heap_space_statistics_buffer_;
delete[] http_parser_buffer_;
delete[] http2_socket_buffer_;
}

inline v8::Isolate* Environment::isolate() const {
Expand Down Expand Up @@ -489,15 +487,6 @@ inline void Environment::set_fs_stats_field_array(double* fields) {
fs_stats_field_array_ = fields;
}

inline char* Environment::http2_socket_buffer() const {
return http2_socket_buffer_;
}

inline void Environment::set_http2_socket_buffer(char* buffer) {
CHECK_EQ(http2_socket_buffer_, nullptr); // Should be set only once.
http2_socket_buffer_ = buffer;
}

inline IsolateData* Environment::isolate_data() const {
return isolate_data_;
}
Expand Down
3 changes: 0 additions & 3 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,6 @@ class Environment {

inline char* http_parser_buffer() const;
inline void set_http_parser_buffer(char* buffer);
inline char* http2_socket_buffer() const;
inline void set_http2_socket_buffer(char* buffer);

inline double* fs_stats_field_array() const;
inline void set_fs_stats_field_array(double* fields);
Expand Down Expand Up @@ -707,7 +705,6 @@ class Environment {
double* heap_space_statistics_buffer_ = nullptr;

char* http_parser_buffer_;
char* http2_socket_buffer_;

double* fs_stats_field_array_;

Expand Down

0 comments on commit 59d1d56

Please sign in to comment.