Author: [EMAIL PROTECTED]
Date: Fri Oct 17 00:23:00 2008
New Revision: 515
Added:
trunk/test/mjsunit/regress/regress-116.js
- copied unchanged from r514,
/branches/bleeding_edge/test/mjsunit/regress/regress-116.js
Modified:
trunk/src/api.cc
trunk/src/objects.cc
Log:
Apply fix for issue 116 from bleeding_edge branch. Update version
0.3.5 to 0.3.5.1.
Review URL: http://codereview.chromium.org/7473
Modified: trunk/src/api.cc
==============================================================================
--- trunk/src/api.cc (original)
+++ trunk/src/api.cc Fri Oct 17 00:23:00 2008
@@ -2216,7 +2216,7 @@
const char* v8::V8::GetVersion() {
- return "0.3.5";
+ return "0.3.5.1";
}
Modified: trunk/src/objects.cc
==============================================================================
--- trunk/src/objects.cc (original)
+++ trunk/src/objects.cc Fri Oct 17 00:23:00 2008
@@ -4655,7 +4655,7 @@
JSArray::cast(this)->set_length(Smi::FromInt(index + 1));
}
}
- return this;
+ return value;
}
// Allow gap in fast case.
@@ -4670,7 +4670,7 @@
SetFastElements(FixedArray::cast(obj));
if (IsJSArray()) JSArray::cast(this)->set_length(Smi::FromInt(index
+ 1));
FixedArray::cast(elements())->set(index, value);
- return this;
+ return value;
}
}
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---