Revision: 10716
Author: [email protected]
Date: Thu Feb 16 00:38:11 2012
Log: Fix GCC-4.7 warnings
which were introduced in r10700.
Review URL: https://chromiumcodereview.appspot.com/9401005
http://code.google.com/p/v8/source/detail?r=10716
Modified:
/branches/bleeding_edge/src/compiler.cc
=======================================
--- /branches/bleeding_edge/src/compiler.cc Tue Feb 14 06:14:51 2012
+++ /branches/bleeding_edge/src/compiler.cc Thu Feb 16 00:38:11 2012
@@ -215,7 +215,6 @@
FLAG_deopt_every_n_times == 0 ? Compiler::kDefaultMaxOptCount : 1000;
if (info->shared_info()->opt_count() > kMaxOptCount) {
info->AbortOptimization();
- Handle<JSFunction> closure = info->closure();
info->shared_info()->DisableOptimization();
// True indicates the compilation pipeline is still going, not
// necessarily that we optimized the code.
@@ -236,7 +235,6 @@
(info->osr_ast_id() != AstNode::kNoNumber &&
scope->num_parameters() + 1 + scope->num_stack_slots() >
locals_limit)) {
info->AbortOptimization();
- Handle<JSFunction> closure = info->closure();
info->shared_info()->DisableOptimization();
// True indicates the compilation pipeline is still going, not
// necessarily that we optimized the code.
@@ -315,7 +313,6 @@
if (!builder.inline_bailout()) {
// Mark the shared code as unoptimizable unless it was an inlined
// function that bailed out.
- Handle<JSFunction> closure = info->closure();
info->shared_info()->DisableOptimization();
}
// True indicates the compilation pipeline is still going, not
necessarily
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev