| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 // Static indirection table for handles to constants. If a frame | 101 // Static indirection table for handles to constants. If a frame |
| 102 // element represents a constant, the data contains an index into | 102 // element represents a constant, the data contains an index into |
| 103 // this table of handles to the actual constants. | 103 // this table of handles to the actual constants. |
| 104 // Static indirection table for handles to constants. If a Result | 104 // Static indirection table for handles to constants. If a Result |
| 105 // represents a constant, the data contains an index into this table | 105 // represents a constant, the data contains an index into this table |
| 106 // of handles to the actual constants. | 106 // of handles to the actual constants. |
| 107 typedef ZoneList<Handle<Object> > ZoneObjectList; | 107 typedef ZoneList<Handle<Object> > ZoneObjectList; |
| 108 | 108 |
| 109 // TODO(isolates): pass isolate pointer here. | 109 // TODO(isolates): pass isolate pointer here. |
| 110 #define RETURN_IF_SCHEDULED_EXCEPTION() \ | 110 #define RETURN_IF_SCHEDULED_EXCEPTION(isolate) \ |
| 111 if (Isolate::Current()->has_scheduled_exception()) \ | 111 if (isolate->has_scheduled_exception()) \ |
| 112 return Isolate::Current()->PromoteScheduledException() | 112 return isolate->PromoteScheduledException() |
| 113 | 113 |
| 114 #define ISOLATE_ADDRESS_LIST(C) \ | 114 #define ISOLATE_ADDRESS_LIST(C) \ |
| 115 C(handler_address) \ | 115 C(handler_address) \ |
| 116 C(c_entry_fp_address) \ | 116 C(c_entry_fp_address) \ |
| 117 C(context_address) \ | 117 C(context_address) \ |
| 118 C(pending_exception_address) \ | 118 C(pending_exception_address) \ |
| 119 C(external_caught_exception_address) | 119 C(external_caught_exception_address) |
| 120 | 120 |
| 121 #ifdef ENABLE_LOGGING_AND_PROFILING | 121 #ifdef ENABLE_LOGGING_AND_PROFILING |
| 122 #define ISOLATE_ADDRESS_LIST_PROF(C) \ | 122 #define ISOLATE_ADDRESS_LIST_PROF(C) \ |
| (...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1209 | 1209 |
| 1210 } } // namespace v8::internal | 1210 } } // namespace v8::internal |
| 1211 | 1211 |
| 1212 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1212 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1213 // they're needed. | 1213 // they're needed. |
| 1214 #include "allocation-inl.h" | 1214 #include "allocation-inl.h" |
| 1215 #include "zone-inl.h" | 1215 #include "zone-inl.h" |
| 1216 #include "frames-inl.h" | 1216 #include "frames-inl.h" |
| 1217 | 1217 |
| 1218 #endif // V8_ISOLATE_H_ | 1218 #endif // V8_ISOLATE_H_ |
| OLD | NEW |