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 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1119 Object* FindCodeObject(Address a); | 1119 Object* FindCodeObject(Address a); |
1120 | 1120 |
1121 int NextOptimizationId() { | 1121 int NextOptimizationId() { |
1122 int id = next_optimization_id_++; | 1122 int id = next_optimization_id_++; |
1123 if (!Smi::IsValid(next_optimization_id_)) { | 1123 if (!Smi::IsValid(next_optimization_id_)) { |
1124 next_optimization_id_ = 0; | 1124 next_optimization_id_ = 0; |
1125 } | 1125 } |
1126 return id; | 1126 return id; |
1127 } | 1127 } |
1128 | 1128 |
1129 Handle<JSObject> GetSymbolRegistry(); | |
Michael Starzinger
2014/03/24 15:17:19
nit: Can we add a short one-line comment of the in
rossberg
2014/03/24 15:54:46
Done.
| |
1130 | |
1129 private: | 1131 private: |
1130 Isolate(); | 1132 Isolate(); |
1131 | 1133 |
1132 friend struct GlobalState; | 1134 friend struct GlobalState; |
1133 friend struct InitializeGlobalState; | 1135 friend struct InitializeGlobalState; |
1134 | 1136 |
1135 enum State { | 1137 enum State { |
1136 UNINITIALIZED, // Some components may not have been allocated. | 1138 UNINITIALIZED, // Some components may not have been allocated. |
1137 INITIALIZED // All components are fully initialized. | 1139 INITIALIZED // All components are fully initialized. |
1138 }; | 1140 }; |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1550 } | 1552 } |
1551 | 1553 |
1552 EmbeddedVector<char, 128> filename_; | 1554 EmbeddedVector<char, 128> filename_; |
1553 FILE* file_; | 1555 FILE* file_; |
1554 int scope_depth_; | 1556 int scope_depth_; |
1555 }; | 1557 }; |
1556 | 1558 |
1557 } } // namespace v8::internal | 1559 } } // namespace v8::internal |
1558 | 1560 |
1559 #endif // V8_ISOLATE_H_ | 1561 #endif // V8_ISOLATE_H_ |
OLD | NEW |