| Index: test/cctest/test-deoptimization.cc
|
| diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc
|
| index c713b02199119c9c3cc7f3fecf9ae29817d0f53d..ea34a75371f8114f7e3c3b7fbe5a1bcfa0f3f367 100644
|
| --- a/test/cctest/test-deoptimization.cc
|
| +++ b/test/cctest/test-deoptimization.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2007-2010 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 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:
|
| @@ -237,7 +237,7 @@ TEST(DeoptimizeRecursive) {
|
|
|
| v8::Local<v8::Function> fun =
|
| v8::Local<v8::Function>::Cast(env->Global()->Get(v8::String::New("f")));
|
| - Handle<v8::internal::JSFunction> f(v8::Utils::OpenHandle(*fun));
|
| + CHECK(!fun.IsEmpty());
|
| }
|
|
|
|
|
|
|