From 899bef8226f906753a3bc589151ed18d8b819fa8 Mon Sep 17 00:00:00 2001 From: "mikhail.naganov@gmail.com" Date: Tue, 16 Feb 2010 12:08:10 +0000 Subject: [PATCH] Use binary search in GetScriptLineNumber. Patch by Ilya Tikhonovsky Original issue http://codereview.chromium.org/593108 TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/608012 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3870 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/handles.cc | 30 +++++++++++++++--------------- test/cctest/test-compiler.cc | 24 ++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 15 deletions(-) diff --git a/src/handles.cc b/src/handles.cc index 936177dbba..2186c516ab 100644 --- a/src/handles.cc +++ b/src/handles.cc @@ -483,25 +483,25 @@ void InitScriptLineEnds(Handle