| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stdlib.h> | 5 #include <stdlib.h> |
| 6 #include <limits> | 6 #include <limits> |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
| (...skipping 10882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10893 isolate->stack_guard()->RequestDebugBreak(); | 10893 isolate->stack_guard()->RequestDebugBreak(); |
| 10894 return isolate->heap()->undefined_value(); | 10894 return isolate->heap()->undefined_value(); |
| 10895 } | 10895 } |
| 10896 | 10896 |
| 10897 | 10897 |
| 10898 static Handle<Object> DebugLookupResultValue(LookupIterator* it, | 10898 static Handle<Object> DebugLookupResultValue(LookupIterator* it, |
| 10899 bool* has_caught = NULL) { | 10899 bool* has_caught = NULL) { |
| 10900 for (; it->IsFound(); it->Next()) { | 10900 for (; it->IsFound(); it->Next()) { |
| 10901 switch (it->state()) { | 10901 switch (it->state()) { |
| 10902 case LookupIterator::NOT_FOUND: | 10902 case LookupIterator::NOT_FOUND: |
| 10903 case LookupIterator::TRANSITION: |
| 10903 UNREACHABLE(); | 10904 UNREACHABLE(); |
| 10904 case LookupIterator::ACCESS_CHECK: | 10905 case LookupIterator::ACCESS_CHECK: |
| 10905 // Ignore access checks. | 10906 // Ignore access checks. |
| 10906 break; | 10907 break; |
| 10907 case LookupIterator::INTERCEPTOR: | 10908 case LookupIterator::INTERCEPTOR: |
| 10908 case LookupIterator::JSPROXY: | 10909 case LookupIterator::JSPROXY: |
| 10909 return it->isolate()->factory()->undefined_value(); | 10910 return it->isolate()->factory()->undefined_value(); |
| 10910 case LookupIterator::PROPERTY: | 10911 case LookupIterator::PROPERTY: |
| 10911 if (!it->HasProperty()) continue; | 10912 if (!it->HasProperty()) continue; |
| 10912 switch (it->property_kind()) { | 10913 switch (it->property_kind()) { |
| (...skipping 4730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15643 } | 15644 } |
| 15644 return NULL; | 15645 return NULL; |
| 15645 } | 15646 } |
| 15646 | 15647 |
| 15647 | 15648 |
| 15648 const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) { | 15649 const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) { |
| 15649 return &(kIntrinsicFunctions[static_cast<int>(id)]); | 15650 return &(kIntrinsicFunctions[static_cast<int>(id)]); |
| 15650 } | 15651 } |
| 15651 | 15652 |
| 15652 } } // namespace v8::internal | 15653 } } // namespace v8::internal |
| OLD | NEW |