| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 3935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3946 bool V8::IsExecutionTerminating() { | 3946 bool V8::IsExecutionTerminating() { |
| 3947 if (!i::V8::IsRunning()) return false; | 3947 if (!i::V8::IsRunning()) return false; |
| 3948 if (i::Isolate::Current()->has_scheduled_exception()) { | 3948 if (i::Isolate::Current()->has_scheduled_exception()) { |
| 3949 return i::Isolate::Current()->scheduled_exception() == | 3949 return i::Isolate::Current()->scheduled_exception() == |
| 3950 HEAP->termination_exception(); | 3950 HEAP->termination_exception(); |
| 3951 } | 3951 } |
| 3952 return false; | 3952 return false; |
| 3953 } | 3953 } |
| 3954 | 3954 |
| 3955 | 3955 |
| 3956 Isolate::Isolate* New() { | 3956 Isolate* Isolate::New() { |
| 3957 UNIMPLEMENTED(); | 3957 UNIMPLEMENTED(); |
| 3958 return NULL; | 3958 return NULL; |
| 3959 } | 3959 } |
| 3960 | 3960 |
| 3961 | 3961 |
| 3962 Isolate::Isolate* GetCurrent() { | 3962 Isolate* Isolate::GetCurrent() { |
| 3963 UNIMPLEMENTED(); | 3963 UNIMPLEMENTED(); |
| 3964 return NULL; | 3964 return NULL; |
| 3965 } | 3965 } |
| 3966 | 3966 |
| 3967 | 3967 |
| 3968 void Isolate::Enter() { | 3968 void Isolate::Enter() { |
| 3969 UNIMPLEMENTED(); | 3969 UNIMPLEMENTED(); |
| 3970 } | 3970 } |
| 3971 | 3971 |
| 3972 | 3972 |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4763 | 4763 |
| 4764 | 4764 |
| 4765 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { | 4765 char* HandleScopeImplementer::Iterate(ObjectVisitor* v, char* storage) { |
| 4766 HandleScopeImplementer* thread_local = | 4766 HandleScopeImplementer* thread_local = |
| 4767 reinterpret_cast<HandleScopeImplementer*>(storage); | 4767 reinterpret_cast<HandleScopeImplementer*>(storage); |
| 4768 thread_local->IterateThis(v); | 4768 thread_local->IterateThis(v); |
| 4769 return storage + ArchiveSpacePerThread(); | 4769 return storage + ArchiveSpacePerThread(); |
| 4770 } | 4770 } |
| 4771 | 4771 |
| 4772 } } // namespace v8::internal | 4772 } } // namespace v8::internal |
| OLD | NEW |