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

Side by Side Diff: src/liveedit.h

Issue 6529055: [Isolates] Merge crankshaft (r5922 from bleeding_edge). (Closed)
Patch Set: Win32 port Created 9 years, 10 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 | « src/lithium-allocator.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 public: 85 public:
86 static JSArray* GatherCompileInfo(Handle<Script> script, 86 static JSArray* GatherCompileInfo(Handle<Script> script,
87 Handle<String> source); 87 Handle<String> source);
88 88
89 static void WrapSharedFunctionInfos(Handle<JSArray> array); 89 static void WrapSharedFunctionInfos(Handle<JSArray> array);
90 90
91 MUST_USE_RESULT static MaybeObject* ReplaceFunctionCode( 91 MUST_USE_RESULT static MaybeObject* ReplaceFunctionCode(
92 Handle<JSArray> new_compile_info_array, 92 Handle<JSArray> new_compile_info_array,
93 Handle<JSArray> shared_info_array); 93 Handle<JSArray> shared_info_array);
94 94
95 static MaybeObject* FunctionSourceUpdated(Handle<JSArray> shared_info_array);
96
95 // Updates script field in FunctionSharedInfo. 97 // Updates script field in FunctionSharedInfo.
96 static void SetFunctionScript(Handle<JSValue> function_wrapper, 98 static void SetFunctionScript(Handle<JSValue> function_wrapper,
97 Handle<Object> script_handle); 99 Handle<Object> script_handle);
98 100
99 MUST_USE_RESULT static MaybeObject* PatchFunctionPositions( 101 MUST_USE_RESULT static MaybeObject* PatchFunctionPositions(
100 Handle<JSArray> shared_info_array, Handle<JSArray> position_change_array); 102 Handle<JSArray> shared_info_array, Handle<JSArray> position_change_array);
101 103
102 // For a script updates its source field. If old_script_name is provided 104 // For a script updates its source field. If old_script_name is provided
103 // (i.e. is a String), also creates a copy of the script with its original 105 // (i.e. is a String), also creates a copy of the script with its original
104 // source and sends notification to debugger. 106 // source and sends notification to debugger.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 static void CalculateDifference(Input* input, 169 static void CalculateDifference(Input* input,
168 Output* result_writer); 170 Output* result_writer);
169 }; 171 };
170 172
171 #endif // ENABLE_DEBUGGER_SUPPORT 173 #endif // ENABLE_DEBUGGER_SUPPORT
172 174
173 175
174 } } // namespace v8::internal 176 } } // namespace v8::internal
175 177
176 #endif /* V*_LIVEEDIT_H_ */ 178 #endif /* V*_LIVEEDIT_H_ */
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698