| Index: test/cctest/test-api.cc | 
| =================================================================== | 
| --- test/cctest/test-api.cc	(revision 2013) | 
| +++ test/cctest/test-api.cc	(working copy) | 
| @@ -4644,6 +4644,12 @@ | 
|  | 
| static v8::Handle<Value> call_as_function(const v8::Arguments& args) { | 
| ApiTestFuzzer::Fuzz(); | 
| +  if (args.IsConstructCall()) { | 
| +    if (args[0]->IsInt32()) { | 
| +       return v8_num(-args[0]->Int32Value()); | 
| +    } | 
| +  } | 
| + | 
| return args[0]; | 
| } | 
|  | 
| @@ -4697,9 +4703,9 @@ | 
| // Check that the call-as-function handler can be called through | 
| // new.  Currently, there is no way to check in the call-as-function | 
| // handler if it has been called through new or not. | 
| -  value = CompileRun("new obj(42)"); | 
| +  value = CompileRun("new obj(43)"); | 
| CHECK(!try_catch.HasCaught()); | 
| -  CHECK_EQ(42, value->Int32Value()); | 
| +  CHECK_EQ(-43, value->Int32Value()); | 
| } | 
|  | 
|  | 
|  |