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

Side by Side Diff: runtime/bin/isolate_data.h

Issue 1531763002: Temporary workaround to make VM bots greener. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | runtime/vm/dart_api_impl.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef BIN_ISOLATE_DATA_H_ 5 #ifndef BIN_ISOLATE_DATA_H_
6 #define BIN_ISOLATE_DATA_H_ 6 #define BIN_ISOLATE_DATA_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/globals.h" 10 #include "platform/globals.h"
(...skipping 18 matching lines...) Expand all
29 packages_file(NULL), 29 packages_file(NULL),
30 udp_receive_buffer(NULL), 30 udp_receive_buffer(NULL),
31 load_async_id(-1) { 31 load_async_id(-1) {
32 if (package_root != NULL) { 32 if (package_root != NULL) {
33 ASSERT(packages_file == NULL); 33 ASSERT(packages_file == NULL);
34 this->package_root = strdup(package_root); 34 this->package_root = strdup(package_root);
35 } else if (packages_file != NULL) { 35 } else if (packages_file != NULL) {
36 this->packages_file = strdup(packages_file); 36 this->packages_file = strdup(packages_file);
37 } 37 }
38 } 38 }
39 #if 0
39 ~IsolateData() { 40 ~IsolateData() {
40 free(script_url); 41 free(script_url);
41 free(package_root); 42 free(package_root);
42 free(packages_file); 43 free(packages_file);
43 free(udp_receive_buffer); 44 free(udp_receive_buffer);
44 } 45 }
46 #endif
45 47
46 char* script_url; 48 char* script_url;
47 char* package_root; 49 char* package_root;
48 char* packages_file; 50 char* packages_file;
49 uint8_t* udp_receive_buffer; 51 uint8_t* udp_receive_buffer;
50 int64_t load_async_id; 52 int64_t load_async_id;
51 53
52 private: 54 private:
53 DISALLOW_COPY_AND_ASSIGN(IsolateData); 55 DISALLOW_COPY_AND_ASSIGN(IsolateData);
54 }; 56 };
55 57
56 } // namespace bin 58 } // namespace bin
57 } // namespace dart 59 } // namespace dart
58 60
59 #endif // BIN_ISOLATE_DATA_H_ 61 #endif // BIN_ISOLATE_DATA_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698