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

Side by Side Diff: src/debug/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/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/full-codegen/arm/full-codegen-arm.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 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/debug/debug.h" 5 #include "src/debug/debug.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 return has_break_points_at_all; 700 return has_break_points_at_all;
701 } 701 }
702 702
703 703
704 MaybeHandle<Object> Debug::CallFunction(const char* name, int argc, 704 MaybeHandle<Object> Debug::CallFunction(const char* name, int argc,
705 Handle<Object> args[]) { 705 Handle<Object> args[]) {
706 PostponeInterruptsScope no_interrupts(isolate_); 706 PostponeInterruptsScope no_interrupts(isolate_);
707 AssertDebugContext(); 707 AssertDebugContext();
708 Handle<Object> holder = isolate_->natives_utils_object(); 708 Handle<Object> holder = isolate_->natives_utils_object();
709 Handle<JSFunction> fun = Handle<JSFunction>::cast( 709 Handle<JSFunction> fun = Handle<JSFunction>::cast(
710 Object::GetProperty(isolate_, holder, name, STRICT).ToHandleChecked()); 710 Object::GetProperty(isolate_, holder, name).ToHandleChecked());
711 Handle<Object> undefined = isolate_->factory()->undefined_value(); 711 Handle<Object> undefined = isolate_->factory()->undefined_value();
712 return Execution::TryCall(isolate_, fun, undefined, argc, args); 712 return Execution::TryCall(isolate_, fun, undefined, argc, args);
713 } 713 }
714 714
715 715
716 // Check whether a single break point object is triggered. 716 // Check whether a single break point object is triggered.
717 bool Debug::CheckBreakPoint(Handle<Object> break_point_object) { 717 bool Debug::CheckBreakPoint(Handle<Object> break_point_object) {
718 Factory* factory = isolate_->factory(); 718 Factory* factory = isolate_->factory();
719 HandleScope scope(isolate_); 719 HandleScope scope(isolate_);
720 720
(...skipping 1848 matching lines...) Expand 10 before | Expand all | Expand 10 after
2569 } 2569 }
2570 2570
2571 2571
2572 void LockingCommandMessageQueue::Clear() { 2572 void LockingCommandMessageQueue::Clear() {
2573 base::LockGuard<base::Mutex> lock_guard(&mutex_); 2573 base::LockGuard<base::Mutex> lock_guard(&mutex_);
2574 queue_.Clear(); 2574 queue_.Clear();
2575 } 2575 }
2576 2576
2577 } // namespace internal 2577 } // namespace internal
2578 } // namespace v8 2578 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698