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

Side by Side Diff: src/debug/liveedit.h

Issue 1291043002: Debugger: remove duplicate heap iterations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@debuggerglobal
Patch Set: slight change Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/debug/liveedit.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_LIVEEDIT_H_ 5 #ifndef V8_DEBUG_LIVEEDIT_H_
6 #define V8_DEBUG_LIVEEDIT_H_ 6 #define V8_DEBUG_LIVEEDIT_H_
7 7
8 8
9 // Live Edit feature implementation. 9 // Live Edit feature implementation.
10 // User should be able to change script on already running VM. This feature 10 // User should be able to change script on already running VM. This feature
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 }; 74 };
75 75
76 static void InitializeThreadLocal(Debug* debug); 76 static void InitializeThreadLocal(Debug* debug);
77 77
78 static bool SetAfterBreakTarget(Debug* debug); 78 static bool SetAfterBreakTarget(Debug* debug);
79 79
80 MUST_USE_RESULT static MaybeHandle<JSArray> GatherCompileInfo( 80 MUST_USE_RESULT static MaybeHandle<JSArray> GatherCompileInfo(
81 Handle<Script> script, 81 Handle<Script> script,
82 Handle<String> source); 82 Handle<String> source);
83 83
84 static void WrapSharedFunctionInfos(Handle<JSArray> array);
85
86 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array, 84 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array,
87 Handle<JSArray> shared_info_array); 85 Handle<JSArray> shared_info_array);
88 86
89 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array); 87 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array);
90 88
91 // Updates script field in FunctionSharedInfo. 89 // Updates script field in FunctionSharedInfo.
92 static void SetFunctionScript(Handle<JSValue> function_wrapper, 90 static void SetFunctionScript(Handle<JSValue> function_wrapper,
93 Handle<Object> script_handle); 91 Handle<Object> script_handle);
94 92
95 static void PatchFunctionPositions(Handle<JSArray> shared_info_array, 93 static void PatchFunctionPositions(Handle<JSArray> shared_info_array,
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 static const int kEndPositionOffset_ = 2; 360 static const int kEndPositionOffset_ = 2;
363 static const int kSharedInfoOffset_ = 3; 361 static const int kSharedInfoOffset_ = 3;
364 static const int kSize_ = 4; 362 static const int kSize_ = 4;
365 363
366 friend class JSArrayBasedStruct<SharedInfoWrapper>; 364 friend class JSArrayBasedStruct<SharedInfoWrapper>;
367 }; 365 };
368 366
369 } } // namespace v8::internal 367 } } // namespace v8::internal
370 368
371 #endif /* V8_DEBUG_LIVEEDIT_H_ */ 369 #endif /* V8_DEBUG_LIVEEDIT_H_ */
OLDNEW
« no previous file with comments | « no previous file | src/debug/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698