| Index: src/debug.cc
|
| ===================================================================
|
| --- src/debug.cc (revision 5530)
|
| +++ src/debug.cc (working copy)
|
| @@ -1033,10 +1033,12 @@
|
| if (!break_point_object->IsJSObject()) return true;
|
|
|
| // Get the function CheckBreakPoint (defined in debug.js).
|
| + Handle<String> is_break_point_triggered_symbol =
|
| + Factory::LookupAsciiSymbol("IsBreakPointTriggered");
|
| Handle<JSFunction> check_break_point =
|
| Handle<JSFunction>(JSFunction::cast(
|
| - debug_context()->global()->GetProperty(
|
| - *Factory::LookupAsciiSymbol("IsBreakPointTriggered"))));
|
| + debug_context()->global()->GetProperty(
|
| + *is_break_point_triggered_symbol)));
|
|
|
| // Get the break id as an object.
|
| Handle<Object> break_id = Factory::NewNumberFromInt(Debug::break_id());
|
| @@ -2166,9 +2168,11 @@
|
| // script. Make sure that these break points are set.
|
|
|
| // Get the function UpdateScriptBreakPoints (defined in debug-debugger.js).
|
| + Handle<String> update_script_break_points_symbol =
|
| + Factory::LookupAsciiSymbol("UpdateScriptBreakPoints");
|
| Handle<Object> update_script_break_points =
|
| Handle<Object>(Debug::debug_context()->global()->GetProperty(
|
| - *Factory::LookupAsciiSymbol("UpdateScriptBreakPoints")));
|
| + *update_script_break_points_symbol));
|
| if (!update_script_break_points->IsJSFunction()) {
|
| return;
|
| }
|
|
|