Skip to content

Commit d1206b3

Browse files
Remove socket implementation from V8.
[email protected], [email protected] Review URL: https://codereview.chromium.org/281723007 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21316 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
1 parent 9080a44 commit d1206b3

File tree

8 files changed

+2
-469
lines changed

8 files changed

+2
-469
lines changed

src/platform-posix.cc

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <time.h>
1818

1919
#include <sys/mman.h>
20-
#include <sys/socket.h>
2120
#include <sys/resource.h>
2221
#include <sys/time.h>
2322
#include <sys/types.h>

src/platform/socket.cc

-201
This file was deleted.

src/platform/socket.h

-78
This file was deleted.

test/cctest/cctest.gyp

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@
105105
'test-representation.cc',
106106
'test-semaphore.cc',
107107
'test-serialize.cc',
108-
'test-socket.cc',
109108
'test-spaces.cc',
110109
'test-strings.cc',
111110
'test-symbols.cc',

test/cctest/cctest.h

-7
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,6 @@ static inline v8::Local<v8::Value> CompileRunWithOrigin(
403403
}
404404

405405

406-
// Pick a slightly different port to allow tests to be run in parallel.
407-
static inline int FlagDependentPortOffset() {
408-
return ::v8::internal::FLAG_crankshaft == false ? 100 :
409-
::v8::internal::FLAG_always_opt ? 200 : 0;
410-
}
411-
412-
413406
// Helper function that simulates a full new-space in the heap.
414407
static inline void SimulateFullSpace(v8::internal::NewSpace* space) {
415408
int new_linear_size = static_cast<int>(

test/cctest/test-debug.cc

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include "frames.h"
3838
#include "platform.h"
3939
#include "platform/condition-variable.h"
40-
#include "platform/socket.h"
4140
#include "stub-cache.h"
4241
#include "utils.h"
4342

0 commit comments

Comments
 (0)