OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |