From 3b1d656da56bdd403d1625a0c6a44d75cde36cc1 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 10 Oct 2011 17:58:30 -0700 Subject: Revert "Upgrade V8 to 3.6.6" Not stable enough. - Windows snapshot linking broken - Linux crash on ./node_g test/simple/test-stream-pipe-multi.js This reverts commit 56e6952e639ba1557a5b22333788583e9e39fa29. --- deps/v8/test/cctest/test-compiler.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'deps/v8/test/cctest/test-compiler.cc') diff --git a/deps/v8/test/cctest/test-compiler.cc b/deps/v8/test/cctest/test-compiler.cc index f5c01e6162..2d9b01204a 100644 --- a/deps/v8/test/cctest/test-compiler.cc +++ b/deps/v8/test/cctest/test-compiler.cc @@ -1,4 +1,4 @@ -// Copyright 2011 the V8 project authors. All rights reserved. +// Copyright 2006-2008 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,11 +305,10 @@ TEST(C2JSFrames) { Handle fun1(fun1_object->ToObjectChecked()); CHECK(fun1->IsJSFunction()); - Handle argv[] = { FACTORY->LookupAsciiSymbol("hello") }; - Execution::Call(Handle::cast(fun1), - global, - ARRAY_SIZE(argv), - argv, + Object** argv[1] = { + Handle::cast(FACTORY->LookupAsciiSymbol("hello")).location() + }; + Execution::Call(Handle::cast(fun1), global, 1, argv, &has_pending_exception); CHECK(!has_pending_exception); } -- cgit v1.2.1