Index: test/cctest/test-api.cc |
=================================================================== |
--- test/cctest/test-api.cc (revision 4600) |
+++ test/cctest/test-api.cc (working copy) |
@@ -9614,7 +9614,7 @@ |
ASSERT(args.Length() == 1); |
- int testGroup = args[0]->ToNumber()->Value(); |
+ int testGroup = args[0]->Int32Value(); |
if (testGroup == kOverviewTest) { |
v8::Handle<v8::StackTrace> stackTrace = |
v8::StackTrace::CurrentStackTrace(10, v8::StackTrace::kOverview); |