@@ -7,10 +7,10 @@ Subject: src: adapt to v8::Exception API change
7
7
Cherry picked fix from https://github.com/nodejs/node-v8/commit/675f411677c28a10a2f03d4b3ef14c2284c33587
8
8
9
9
diff --git a/src/env-inl.h b/src/env-inl.h
10
- index debd982c75805c51ea7d01229b9d635550060503..103dc6711e71e15da640edc5e017bc638ddc6ad1 100644
10
+ index 222c78ef0cb9904742fd44f8182278ab1f50cd59..e248a144b905a6c7c166796cddfe8442f8dc7158 100644
11
11
--- a/src/env-inl.h
12
12
+++ b/src/env-inl.h
13
- @@ -730 ,10 +730 ,10 @@ inline void Environment::ThrowRangeError(const char* errmsg) {
13
+ @@ -780 ,10 +780 ,10 @@ inline void Environment::ThrowRangeError(const char* errmsg) {
14
14
}
15
15
16
16
inline void Environment::ThrowError(
@@ -24,15 +24,15 @@ index debd982c75805c51ea7d01229b9d635550060503..103dc6711e71e15da640edc5e017bc63
24
24
25
25
inline void Environment::ThrowErrnoException(int errorno,
26
26
diff --git a/src/env.h b/src/env.h
27
- index 45a9a7811b4abe1effb6acf2c89a772a7c2256c9..36e8e7d960a95a9040ad963c79a7f66c89233c87 100644
27
+ index 87df6e1f32e584aa0c6ae21856299fff31d67669..c9a455be8c395a2f231f56e0a54211466362aa1d 100644
28
28
--- a/src/env.h
29
29
+++ b/src/env.h
30
- @@ -956 ,7 +956 ,7 @@ class Environment : public MemoryRetainer {
31
- inline void RemoveHeapSnapshotNearHeapLimitCallback(size_t heap_limit) ;
30
+ @@ -1017 ,7 +1017 ,7 @@ class Environment : public MemoryRetainer {
31
+ } ;
32
32
33
33
private:
34
34
- inline void ThrowError(v8::Local<v8::Value> (*fun)(v8::Local<v8::String>),
35
35
+ inline void ThrowError(v8::Local<v8::Value> (*fun)(v8::Local<v8::String>, v8::Local<v8::Value>),
36
36
const char* errmsg);
37
-
38
- std::list<binding::DLib> loaded_addons_ ;
37
+ void TrackContext(v8::Local<v8::Context> context);
38
+ void UntrackContext(v8::Local<v8::Context> context) ;
0 commit comments