Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1102)

Unified Diff: src/runtime/runtime-function.cc

Issue 2633803002: [inspector] implemented blackboxing inside v8 (Closed)
Patch Set: fixed tests Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/runtime/runtime-function.cc
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc
index 31da4a4535b97186d9154cc0cca3f6743e4a5e24..38731268a9b9bad996db13995418e961d558b26e 100644
--- a/src/runtime/runtime-function.cc
+++ b/src/runtime/runtime-function.cc
@@ -196,7 +196,8 @@ RUNTIME_FUNCTION(Runtime_SetCode) {
source_shared->internal_formal_parameter_count());
target_shared->set_start_position_and_type(
source_shared->start_position_and_type());
- target_shared->set_end_position(source_shared->end_position());
+ target_shared->set_end_position_and_is_blackboxed(
+ source_shared->end_position_and_is_blackboxed());
bool was_native = target_shared->native();
target_shared->set_compiler_hints(source_shared->compiler_hints());
target_shared->set_opt_count_and_bailout_reason(

Powered by Google App Engine
This is Rietveld 408576698