Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
chakrashim: some v8.h shim cleanup
Browse files Browse the repository at this point in the history
Add apis needed by next+1.
Add v8config.h to simplify future v8.h alignment.
Correct EXPORT to support dllimport.
Make Handle<> alias of Local<> as in latest official v8.h.

Reviewed-by: @kunalspathak
  • Loading branch information
Jianchun Xu committed Aug 11, 2015
1 parent 5a54c00 commit 8cbbfbc
Show file tree
Hide file tree
Showing 21 changed files with 616 additions and 184 deletions.
3 changes: 3 additions & 0 deletions deps/chakrashim/chakrashim.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
],
'defines': [
'USE_EDGEMODE_JSRT=1',
'BUILDING_CHAKRASHIM=1',
],
'conditions': [
[ 'target_arch=="ia32"', { 'defines': [ '__i386__=1' ] } ],
Expand All @@ -33,6 +34,7 @@
],
'defines': [
'USE_EDGEMODE_JSRT=1',
'BUILDING_CHAKRASHIM=1',
'_WIN32_WINNT=0x0A00', # WIN10
],
'libraries': [
Expand All @@ -50,6 +52,7 @@
'sources': [
'include/libplatform/libplatform.h',
'include/v8.h',
'include/v8config.h',
'include/v8-debug.h',
'include/v8-platform.h',
'include/v8-profiler.h',
Expand Down
4 changes: 4 additions & 0 deletions deps/chakrashim/include/v8-debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ class EXPORT Debug {
const uint16_t* command, int length,
ClientData* client_data = NULL) {
}
static MaybeLocal<Value> GetMirror(Local<Context> context,
Handle<Value> obj) {
return MaybeLocal<Value>();
}
};

} // namespace v8
Loading

0 comments on commit 8cbbfbc

Please sign in to comment.