Skip to content

Commit

Permalink
src: format source after recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Jun 17, 2016
1 parent 1db72ac commit e8874ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/llv8-constants.cc
Expand Up @@ -269,10 +269,10 @@ void ScopeInfo::Load() {


void Context::Load() {
kClosureIndex = LoadConstant("class_Context__closure_index__int",
"context_idx_closure");
kPreviousIndex = LoadConstant("class_Context__previous_index__int",
"context_idx_prev");
kClosureIndex =
LoadConstant("class_Context__closure_index__int", "context_idx_closure");
kPreviousIndex =
LoadConstant("class_Context__previous_index__int", "context_idx_prev");
kMinContextSlots = LoadConstant("class_Context__min_context_slots__int",
"context_min_slots");
}
Expand Down
8 changes: 3 additions & 5 deletions src/llv8.cc
Expand Up @@ -808,8 +808,7 @@ std::string Context::Inspect(Error& err) {
HeapObject heap_previous = HeapObject(previous);
if (heap_previous.Check()) {
char tmp[128];
snprintf(tmp, sizeof(tmp), " (previous)=0x%016" PRIx64,
previous.raw());
snprintf(tmp, sizeof(tmp), " (previous)=0x%016" PRIx64, previous.raw());
res += tmp;
}

Expand Down Expand Up @@ -925,11 +924,10 @@ std::string Map::Inspect(InspectOptions* options, Error& err) {
char tmp[256];
snprintf(tmp, sizeof(tmp),
"<Map own_descriptors=%d in_object=%d instance_size=%d "
"descriptors=0x%016" PRIx64,
"descriptors=0x%016" PRIx64,
static_cast<int>(own_descriptors_count),
static_cast<int>(in_object_properties),
static_cast<int>(instance_size),
descriptors_obj.raw());
static_cast<int>(instance_size), descriptors_obj.raw());
if (!options->detailed) {
return std::string(tmp) + ">";
}
Expand Down

0 comments on commit e8874ce

Please sign in to comment.