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

Side by Side Diff: src/d8.cc

Issue 1208573003: Fix cluster-fuzz regression with Workers on mips.debug (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-503698.js » ('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 5
6 // Defined when linking against shared lib on Windows. 6 // Defined when linking against shared lib on Windows.
7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED)
8 #define V8_SHARED 8 #define V8_SHARED
9 #endif 9 #endif
10 10
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 if (Shell::DeserializeValue(isolate, *data, &offset) 1718 if (Shell::DeserializeValue(isolate, *data, &offset)
1719 .ToLocal(&data_value)) { 1719 .ToLocal(&data_value)) {
1720 Handle<Value> argv[] = {data_value}; 1720 Handle<Value> argv[] = {data_value};
1721 (void)onmessage_fun->Call(context, global, 1, argv); 1721 (void)onmessage_fun->Call(context, global, 1, argv);
1722 } 1722 }
1723 delete data; 1723 delete data;
1724 } 1724 }
1725 } 1725 }
1726 } 1726 }
1727 } 1727 }
1728 Shell::CollectGarbage(isolate);
1728 } 1729 }
1729 Shell::CollectGarbage(isolate);
1730 isolate->Dispose(); 1730 isolate->Dispose();
1731 } 1731 }
1732 1732
1733 1733
1734 void Worker::Cleanup() { 1734 void Worker::Cleanup() {
1735 delete thread_; 1735 delete thread_;
1736 thread_ = NULL; 1736 thread_ = NULL;
1737 delete[] script_; 1737 delete[] script_;
1738 script_ = NULL; 1738 script_ = NULL;
1739 in_queue_.Clear(); 1739 in_queue_.Clear();
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
2397 } 2397 }
2398 2398
2399 } // namespace v8 2399 } // namespace v8
2400 2400
2401 2401
2402 #ifndef GOOGLE3 2402 #ifndef GOOGLE3
2403 int main(int argc, char* argv[]) { 2403 int main(int argc, char* argv[]) {
2404 return v8::Shell::Main(argc, argv); 2404 return v8::Shell::Main(argc, argv);
2405 } 2405 }
2406 #endif 2406 #endif
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-503698.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698