Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/runtime/runtime-debug.cc

Issue 1700993002: Remove strong mode support from property loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/runtime/runtime-utils.h" 5 #include "src/runtime/runtime-utils.h"
6 6
7 #include "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/debug/debug.h" 8 #include "src/debug/debug.h"
9 #include "src/debug/debug-evaluate.h" 9 #include "src/debug/debug-evaluate.h"
10 #include "src/debug/debug-frames.h" 10 #include "src/debug/debug-frames.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 case LookupIterator::INTEGER_INDEXED_EXOTIC: 75 case LookupIterator::INTEGER_INDEXED_EXOTIC:
76 case LookupIterator::INTERCEPTOR: 76 case LookupIterator::INTERCEPTOR:
77 case LookupIterator::JSPROXY: 77 case LookupIterator::JSPROXY:
78 return it->isolate()->factory()->undefined_value(); 78 return it->isolate()->factory()->undefined_value();
79 case LookupIterator::ACCESSOR: { 79 case LookupIterator::ACCESSOR: {
80 Handle<Object> accessors = it->GetAccessors(); 80 Handle<Object> accessors = it->GetAccessors();
81 if (!accessors->IsAccessorInfo()) { 81 if (!accessors->IsAccessorInfo()) {
82 return it->isolate()->factory()->undefined_value(); 82 return it->isolate()->factory()->undefined_value();
83 } 83 }
84 MaybeHandle<Object> maybe_result = 84 MaybeHandle<Object> maybe_result =
85 JSObject::GetPropertyWithAccessor(it, SLOPPY); 85 JSObject::GetPropertyWithAccessor(it);
86 Handle<Object> result; 86 Handle<Object> result;
87 if (!maybe_result.ToHandle(&result)) { 87 if (!maybe_result.ToHandle(&result)) {
88 result = handle(it->isolate()->pending_exception(), it->isolate()); 88 result = handle(it->isolate()->pending_exception(), it->isolate());
89 it->isolate()->clear_pending_exception(); 89 it->isolate()->clear_pending_exception();
90 if (has_caught != NULL) *has_caught = true; 90 if (has_caught != NULL) *has_caught = true;
91 } 91 }
92 return result; 92 return result;
93 } 93 }
94 94
95 case LookupIterator::DATA: 95 case LookupIterator::DATA:
(...skipping 1580 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 return Smi::FromInt(isolate->debug()->is_active()); 1676 return Smi::FromInt(isolate->debug()->is_active());
1677 } 1677 }
1678 1678
1679 1679
1680 RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) { 1680 RUNTIME_FUNCTION(Runtime_DebugBreakInOptimizedCode) {
1681 UNIMPLEMENTED(); 1681 UNIMPLEMENTED();
1682 return NULL; 1682 return NULL;
1683 } 1683 }
1684 } // namespace internal 1684 } // namespace internal
1685 } // namespace v8 1685 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime-classes.cc ('k') | src/runtime/runtime-object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698