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

Side by Side Diff: src/liveedit.cc

Issue 12917002: Pass Isolates explicitly in Deoptimizer-related code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Cleanup Created 7 years, 9 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/isolate.cc ('k') | src/log.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 // 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 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 1253
1254 private: 1254 private:
1255 SharedFunctionInfo* function_info_; 1255 SharedFunctionInfo* function_info_;
1256 }; 1256 };
1257 1257
1258 1258
1259 static void DeoptimizeDependentFunctions(SharedFunctionInfo* function_info) { 1259 static void DeoptimizeDependentFunctions(SharedFunctionInfo* function_info) {
1260 AssertNoAllocation no_allocation; 1260 AssertNoAllocation no_allocation;
1261 1261
1262 DependentFunctionFilter filter(function_info); 1262 DependentFunctionFilter filter(function_info);
1263 Deoptimizer::DeoptimizeAllFunctionsWith(&filter); 1263 Deoptimizer::DeoptimizeAllFunctionsWith(function_info->GetIsolate(), &filter);
1264 } 1264 }
1265 1265
1266 1266
1267 MaybeObject* LiveEdit::ReplaceFunctionCode( 1267 MaybeObject* LiveEdit::ReplaceFunctionCode(
1268 Handle<JSArray> new_compile_info_array, 1268 Handle<JSArray> new_compile_info_array,
1269 Handle<JSArray> shared_info_array) { 1269 Handle<JSArray> shared_info_array) {
1270 Isolate* isolate = Isolate::Current(); 1270 Isolate* isolate = Isolate::Current();
1271 HandleScope scope(isolate); 1271 HandleScope scope(isolate);
1272 1272
1273 if (!SharedInfoWrapper::IsInstance(shared_info_array)) { 1273 if (!SharedInfoWrapper::IsInstance(shared_info_array)) {
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
2119 2119
2120 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) { 2120 bool LiveEditFunctionTracker::IsActive(Isolate* isolate) {
2121 return false; 2121 return false;
2122 } 2122 }
2123 2123
2124 #endif // ENABLE_DEBUGGER_SUPPORT 2124 #endif // ENABLE_DEBUGGER_SUPPORT
2125 2125
2126 2126
2127 2127
2128 } } // namespace v8::internal 2128 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698