Skip to content

Commit

Permalink
Upgrade V8 to 2.2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 28, 2010
1 parent 67f7fe5 commit 5a25338
Show file tree
Hide file tree
Showing 54 changed files with 1,473 additions and 1,012 deletions.
12 changes: 12 additions & 0 deletions deps/v8/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2010-06-28: Version 2.2.20
Fix bug with for-in on x64 platform (issue 748).

Fix crash bug on x64 platform (issue 756).

Fix bug in Object.getOwnPropertyNames. (chromium issue 41243).

Fix a bug on ARM that caused the result of 1 << x to be
miscalculated for some inputs.

Performance improvements on all platforms.

2010-06-23: Version 2.2.19

Fix bug that causes the build to break when profillingsupport=off
Expand Down
4 changes: 4 additions & 0 deletions deps/v8/src/api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2606,6 +2606,8 @@ void v8::Object::SetIndexedPropertiesToPixelData(uint8_t* data, int length) {
return;
}
i::Handle<i::PixelArray> pixels = i::Factory::NewPixelArray(length, data);
self->set_map(
*i::Factory::GetSlowElementsMap(i::Handle<i::Map>(self->map())));
self->set_elements(*pixels);
}

Expand Down Expand Up @@ -2659,6 +2661,8 @@ void v8::Object::SetIndexedPropertiesToExternalArrayData(
}
i::Handle<i::ExternalArray> array =
i::Factory::NewExternalArray(length, array_type, data);
self->set_map(
*i::Factory::GetSlowElementsMap(i::Handle<i::Map>(self->map())));
self->set_elements(*array);
}

Expand Down
1 change: 1 addition & 0 deletions deps/v8/src/arm/assembler-arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,7 @@ class Assembler : public Malloced {
void EndBlockConstPool() {
const_pool_blocked_nesting_--;
}
bool is_const_pool_blocked() const { return const_pool_blocked_nesting_ > 0; }

private:
// Code buffer:
Expand Down
Loading

0 comments on commit 5a25338

Please sign in to comment.