Showing with 6 additions and 2 deletions.
  1. +5 −1 deps/v8/src/log.cc
  2. +1 −1 src/node.cc
@@ -1485,7 +1485,11 @@ void Logger::LogCodeObject(Object* object) {
tag = Logger::STUB_TAG;
break;
case Code::BUILTIN:
description = "A builtin from the snapshot";
description =
Isolate::Current()->builtins()->Lookup(code_object->entry());
if (description == NULL) {
description = "A builtin from the snapshot";
}
tag = Logger::BUILTIN_TAG;
break;
case Code::KEYED_LOAD_IC:
@@ -1427,7 +1427,7 @@ static Handle<Value> Umask(const Arguments& args) {
node::Utf8Value str(args[0]);

// Parse the octal string.
for (int i = 0; i < str.length(); i++) {
for (size_t i = 0; i < str.length(); i++) {
char c = (*str)[i];
if (c > '7' || c < '0') {
return ThrowException(Exception::TypeError(