Commit 366efa2e authored by dcarney@chromium.org's avatar dcarney@chromium.org

build fix for 16490

TBR=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/23835003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16491 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 0157c9f9
......@@ -13721,7 +13721,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_InternalDateFormat) {
CONVERT_ARG_HANDLE_CHECKED(JSDate, date, 1);
bool has_pending_exception = false;
Handle<Object> value = Execution::ToNumber(date, &has_pending_exception);
Handle<Object> value =
Execution::ToNumber(isolate, date, &has_pending_exception);
if (has_pending_exception) {
ASSERT(isolate->has_pending_exception());
return Failure::Exception();
......@@ -13761,7 +13762,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_InternalDateParse) {
bool has_pending_exception = false;
Handle<JSDate> result = Handle<JSDate>::cast(
Execution::NewDate(static_cast<double>(date), &has_pending_exception));
Execution::NewDate(
isolate, static_cast<double>(date), &has_pending_exception));
if (has_pending_exception) {
ASSERT(isolate->has_pending_exception());
return Failure::Exception();
......@@ -13823,7 +13825,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_InternalNumberFormat) {
CONVERT_ARG_HANDLE_CHECKED(Object, number, 1);
bool has_pending_exception = false;
Handle<Object> value = Execution::ToNumber(number, &has_pending_exception);
Handle<Object> value = Execution::ToNumber(
isolate, number, &has_pending_exception);
if (has_pending_exception) {
ASSERT(isolate->has_pending_exception());
return Failure::Exception();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment