| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 V(illegal_return_symbol, "illegal_return") \ | 214 V(illegal_return_symbol, "illegal_return") \ |
| 215 V(illegal_break_symbol, "illegal_break") \ | 215 V(illegal_break_symbol, "illegal_break") \ |
| 216 V(illegal_continue_symbol, "illegal_continue") \ | 216 V(illegal_continue_symbol, "illegal_continue") \ |
| 217 V(unknown_label_symbol, "unknown_label") \ | 217 V(unknown_label_symbol, "unknown_label") \ |
| 218 V(redeclaration_symbol, "redeclaration") \ | 218 V(redeclaration_symbol, "redeclaration") \ |
| 219 V(failure_symbol, "<failure>") \ | 219 V(failure_symbol, "<failure>") \ |
| 220 V(space_symbol, " ") \ | 220 V(space_symbol, " ") \ |
| 221 V(exec_symbol, "exec") \ | 221 V(exec_symbol, "exec") \ |
| 222 V(zero_symbol, "0") \ | 222 V(zero_symbol, "0") \ |
| 223 V(global_eval_symbol, "GlobalEval") \ | 223 V(global_eval_symbol, "GlobalEval") \ |
| 224 V(identity_hash_symbol, "v8::IdentityHash") | 224 V(identity_hash_symbol, "v8::IdentityHash") \ |
| 225 V(closure_symbol, "(closure)") |
| 225 | 226 |
| 226 | 227 |
| 227 // Forward declaration of the GCTracer class. | 228 // Forward declaration of the GCTracer class. |
| 228 class GCTracer; | 229 class GCTracer; |
| 229 | 230 |
| 230 | 231 |
| 231 // The all static Heap captures the interface to the global object heap. | 232 // The all static Heap captures the interface to the global object heap. |
| 232 // All JavaScript contexts by this process share the same object heap. | 233 // All JavaScript contexts by this process share the same object heap. |
| 233 | 234 |
| 234 class Heap : public AllStatic { | 235 class Heap : public AllStatic { |
| (...skipping 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1616 } | 1617 } |
| 1617 static TranscendentalCache* caches_[kNumberOfCaches]; | 1618 static TranscendentalCache* caches_[kNumberOfCaches]; |
| 1618 Element elements_[kCacheSize]; | 1619 Element elements_[kCacheSize]; |
| 1619 Type type_; | 1620 Type type_; |
| 1620 }; | 1621 }; |
| 1621 | 1622 |
| 1622 | 1623 |
| 1623 } } // namespace v8::internal | 1624 } } // namespace v8::internal |
| 1624 | 1625 |
| 1625 #endif // V8_HEAP_H_ | 1626 #endif // V8_HEAP_H_ |
| OLD | NEW |