| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index 2d9b01204a8cebcbb26787da973fa77cd377cb00..f5c01e6162b344f27abe7af30d8488e9f83c33ba 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -305,10 +305,11 @@ TEST(C2JSFrames) {
|
| Handle<Object> fun1(fun1_object->ToObjectChecked());
|
| CHECK(fun1->IsJSFunction());
|
|
|
| - Object** argv[1] = {
|
| - Handle<Object>::cast(FACTORY->LookupAsciiSymbol("hello")).location()
|
| - };
|
| - Execution::Call(Handle<JSFunction>::cast(fun1), global, 1, argv,
|
| + Handle<Object> argv[] = { FACTORY->LookupAsciiSymbol("hello") };
|
| + Execution::Call(Handle<JSFunction>::cast(fun1),
|
| + global,
|
| + ARRAY_SIZE(argv),
|
| + argv,
|
| &has_pending_exception);
|
| CHECK(!has_pending_exception);
|
| }
|
|
|