Can change for 60:
- state->recvbuf = static_cast<char*>(JS_malloc(...))
- tmp = static_cast<char*>(JS_realloc(...))
main.cpp
"_moz_arena_malloc", referenced from: | |
js_arena_malloc(unsigned long, unsigned long) in utf8.o | |
js_arena_malloc(unsigned long, unsigned long) in util.o |
$ brew install yasm [email protected] protobuf [email protected] boost | |
$ mkdir -p ~/tmp/spidermonkey && cd ~/tmp/spidermonkey | |
$ wget http://ftp.mozilla.org/pub/firefox/releases/60.3.0esr/source/firefox-60.3.0esr.source.tar.xz | |
$ tar -xf firefox-60.3.0esr.source.tar.xz | |
$ cd firefox-60.3.0/js/src | |
$ mkdir obj | |
$ cd obj | |
$ CXXFLAGS=-stdlib=libc++ ../configure \ | |
--disable-ctypes \ | |
--disable-ion \ |
test/javascript/tests/all_docs.js warning: unreachable code after return statement | |
warning: unreachable code after return statement | |
warning: unreachable code after return statement | |
ported to elixir |
js> JSON.stringify("å")
"\"\xC3\xA5\""
js> JSON.stringify("Å")
"\"\xC3\x85\""
js> JSON.stringify("Å".toLowerCase())
"\"\xE3\x85\""
% Licensed under the Apache License, Version 2.0 (the "License"); you may not | |
% use this file except in compliance with the License. You may obtain a copy of | |
% the License at | |
% | |
% http://www.apache.org/licenses/LICENSE-2.0 | |
% | |
% Unless required by applicable law or agreed to in writing, software | |
% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | |
% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | |
% License for the specific language governing permissions and limitations under |
F = fun() -> | |
lists:foreach(fun(_) -> | |
spawn_link(fun() -> | |
timer:sleep(60000) | |
end) | |
end, lists:seq(1, 10000)) | |
end, | |
timer:tc(F). |
void | |
show_stack(int sig) | |
{ | |
void* frames[64]; | |
size_t size; | |
const int8_t* dbg_info = (int8_t*) getenv("EASTON_DEBUG_INFO"); | |
if(dbg_info != NULL) { | |
fprintf(stderr, "Error: Signal %d\n", sig); | |
} else { |