| 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 "src/isolate.h" | 5 #include "src/isolate.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include <fstream> // NOLINT(readability/streams) | 9 #include <fstream> // NOLINT(readability/streams) |
| 10 #include <sstream> | 10 #include <sstream> |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 } | 836 } |
| 837 } | 837 } |
| 838 | 838 |
| 839 LOG(this, ApiSecurityCheck()); | 839 LOG(this, ApiSecurityCheck()); |
| 840 | 840 |
| 841 { | 841 { |
| 842 // Leaving JavaScript. | 842 // Leaving JavaScript. |
| 843 VMState<EXTERNAL> state(this); | 843 VMState<EXTERNAL> state(this); |
| 844 if (callback) { | 844 if (callback) { |
| 845 return callback(v8::Utils::ToLocal(accessing_context), | 845 return callback(v8::Utils::ToLocal(accessing_context), |
| 846 v8::Utils::ToLocal(receiver)); | 846 v8::Utils::ToLocal(receiver), v8::Utils::ToLocal(data)); |
| 847 } | 847 } |
| 848 Handle<Object> key = factory()->undefined_value(); | 848 Handle<Object> key = factory()->undefined_value(); |
| 849 return named_callback(v8::Utils::ToLocal(receiver), v8::Utils::ToLocal(key), | 849 return named_callback(v8::Utils::ToLocal(receiver), v8::Utils::ToLocal(key), |
| 850 v8::ACCESS_HAS, v8::Utils::ToLocal(data)); | 850 v8::ACCESS_HAS, v8::Utils::ToLocal(data)); |
| 851 } | 851 } |
| 852 } | 852 } |
| 853 | 853 |
| 854 | 854 |
| 855 const char* const Isolate::kStackOverflowMessage = | 855 const char* const Isolate::kStackOverflowMessage = |
| 856 "Uncaught RangeError: Maximum call stack size exceeded"; | 856 "Uncaught RangeError: Maximum call stack size exceeded"; |
| (...skipping 2002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2859 // Then check whether this scope intercepts. | 2859 // Then check whether this scope intercepts. |
| 2860 if ((flag & intercept_mask_)) { | 2860 if ((flag & intercept_mask_)) { |
| 2861 intercepted_flags_ |= flag; | 2861 intercepted_flags_ |= flag; |
| 2862 return true; | 2862 return true; |
| 2863 } | 2863 } |
| 2864 return false; | 2864 return false; |
| 2865 } | 2865 } |
| 2866 | 2866 |
| 2867 } // namespace internal | 2867 } // namespace internal |
| 2868 } // namespace v8 | 2868 } // namespace v8 |
| OLD | NEW |