| 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 5398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5409 } | 5409 } |
| 5410 | 5410 |
| 5411 | 5411 |
| 5412 bool V8::IsExecutionTerminating(Isolate* isolate) { | 5412 bool V8::IsExecutionTerminating(Isolate* isolate) { |
| 5413 i::Isolate* i_isolate = isolate != NULL ? | 5413 i::Isolate* i_isolate = isolate != NULL ? |
| 5414 reinterpret_cast<i::Isolate*>(isolate) : i::Isolate::Current(); | 5414 reinterpret_cast<i::Isolate*>(isolate) : i::Isolate::Current(); |
| 5415 return IsExecutionTerminatingCheck(i_isolate); | 5415 return IsExecutionTerminatingCheck(i_isolate); |
| 5416 } | 5416 } |
| 5417 | 5417 |
| 5418 | 5418 |
| 5419 void V8::SetCodeAddressEventCallback(CodeAddressEvent callback, |
| 5420 bool enumExisting) { |
| 5421 i::CodeAddressNotification::SetCodeAddressEventCallback(callback, |
| 5422 enumExisting); |
| 5423 } |
| 5424 |
| 5425 |
| 5419 Isolate* Isolate::GetCurrent() { | 5426 Isolate* Isolate::GetCurrent() { |
| 5420 i::Isolate* isolate = i::Isolate::UncheckedCurrent(); | 5427 i::Isolate* isolate = i::Isolate::UncheckedCurrent(); |
| 5421 return reinterpret_cast<Isolate*>(isolate); | 5428 return reinterpret_cast<Isolate*>(isolate); |
| 5422 } | 5429 } |
| 5423 | 5430 |
| 5424 | 5431 |
| 5425 Isolate* Isolate::New() { | 5432 Isolate* Isolate::New() { |
| 5426 i::Isolate* isolate = new i::Isolate(); | 5433 i::Isolate* isolate = new i::Isolate(); |
| 5427 return reinterpret_cast<Isolate*>(isolate); | 5434 return reinterpret_cast<Isolate*>(isolate); |
| 5428 } | 5435 } |
| (...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6518 | 6525 |
| 6519 v->VisitPointers(blocks_.first(), first_block_limit_); | 6526 v->VisitPointers(blocks_.first(), first_block_limit_); |
| 6520 | 6527 |
| 6521 for (int i = 1; i < blocks_.length(); i++) { | 6528 for (int i = 1; i < blocks_.length(); i++) { |
| 6522 v->VisitPointers(blocks_[i], &blocks_[i][kHandleBlockSize]); | 6529 v->VisitPointers(blocks_[i], &blocks_[i][kHandleBlockSize]); |
| 6523 } | 6530 } |
| 6524 } | 6531 } |
| 6525 | 6532 |
| 6526 | 6533 |
| 6527 } } // namespace v8::internal | 6534 } } // namespace v8::internal |
| OLD | NEW |