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

Side by Side Diff: src/liveedit.h

Issue 325183003: Ignore live_edit_ flag when when dealing with LiveEdit in a debug break. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/debug.cc ('k') | src/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_LIVEEDIT_H_ 5 #ifndef V8_LIVEEDIT_H_
6 #define V8_LIVEEDIT_H_ 6 #define V8_LIVEEDIT_H_
7 7
8 8
9 9
10 // Live Edit feature implementation. 10 // Live Edit feature implementation.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // The top JS frame had been calling debug break slot stub. Patch the 67 // The top JS frame had been calling debug break slot stub. Patch the
68 // address this stub jumps to in the end. 68 // address this stub jumps to in the end.
69 FRAME_DROPPED_IN_DEBUG_SLOT_CALL, 69 FRAME_DROPPED_IN_DEBUG_SLOT_CALL,
70 // The top JS frame had been calling some C++ function. The return address 70 // The top JS frame had been calling some C++ function. The return address
71 // gets patched automatically. 71 // gets patched automatically.
72 FRAME_DROPPED_IN_DIRECT_CALL, 72 FRAME_DROPPED_IN_DIRECT_CALL,
73 FRAME_DROPPED_IN_RETURN_CALL, 73 FRAME_DROPPED_IN_RETURN_CALL,
74 CURRENTLY_SET_MODE 74 CURRENTLY_SET_MODE
75 }; 75 };
76 76
77 static Address AfterBreakTarget(FrameDropMode mode, Isolate* isolate); 77 static void InitializeThreadLocal(Debug* debug);
78
79 static bool SetAfterBreakTarget(Debug* debug);
78 80
79 MUST_USE_RESULT static MaybeHandle<JSArray> GatherCompileInfo( 81 MUST_USE_RESULT static MaybeHandle<JSArray> GatherCompileInfo(
80 Handle<Script> script, 82 Handle<Script> script,
81 Handle<String> source); 83 Handle<String> source);
82 84
83 static void WrapSharedFunctionInfos(Handle<JSArray> array); 85 static void WrapSharedFunctionInfos(Handle<JSArray> array);
84 86
85 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array, 87 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array,
86 Handle<JSArray> shared_info_array); 88 Handle<JSArray> shared_info_array);
87 89
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 static const int kEndPositionOffset_ = 2; 371 static const int kEndPositionOffset_ = 2;
370 static const int kSharedInfoOffset_ = 3; 372 static const int kSharedInfoOffset_ = 3;
371 static const int kSize_ = 4; 373 static const int kSize_ = 4;
372 374
373 friend class JSArrayBasedStruct<SharedInfoWrapper>; 375 friend class JSArrayBasedStruct<SharedInfoWrapper>;
374 }; 376 };
375 377
376 } } // namespace v8::internal 378 } } // namespace v8::internal
377 379
378 #endif /* V*_LIVEEDIT_H_ */ 380 #endif /* V*_LIVEEDIT_H_ */
OLDNEW
« no previous file with comments | « src/debug.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698