Skip to content

Commit

Permalink
fix: amend template again
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Mathews committed Apr 10, 2019
1 parent 4dce12f commit 365b722
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build/lib/android/V8Snapshots.h.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#ifdef __i386__
static const unsigned char snapshot_data[] = {
<% for (let i = 0; i < x86.length - 1; i++) { -%>
<%- x86.readUInt8(i) + ', ' -%>
<%- '0x' + x86.readUInt8(i).toString(16) + ', ' -%>
<% } -%>
<%- x86.readUInt8(x86.length - 1) %>
<%- '0x' + x86.readUInt8(x86.length - 1).toString(16) %>
};
#endif
<% } -%>
Expand All @@ -18,9 +18,9 @@ static const unsigned char snapshot_data[] = {
#ifdef __arm__
static const unsigned char snapshot_data[] = {
<% for (let i = 0; i < arm.length - 1; i++) { -%>
<%- arm.readUInt8(i) + ', ' -%>
<%- '0x' + arm.readUInt8(i).toString(16) + ', ' -%>
<% } -%>
<%- arm.readUInt8(arm.length - 1) %>
<%- '0x' + arm.readUInt8(arm.length - 1).toString(16) %>
};
#endif
<% } -%>
Expand All @@ -29,9 +29,9 @@ static const unsigned char snapshot_data[] = {
#ifdef __aarch64__
static const unsigned char snapshot_data[] = {
<% for (let i = 0; i < arm64.length - 1; i++) { -%>
<%- arm64.readUInt8(i) + ', ' -%>
<%- '0x' + arm64.readUInt8(i).toString(16) + ', ' -%>
<% } -%>
<%- arm64.readUInt8(arm64.length - 1) %>
<%- '0x' + arm64.readUInt8(arm64.length - 1).toString(16) %>
};
#endif
<% } -%>
Expand Down

0 comments on commit 365b722

Please sign in to comment.