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/mips/builtins-mips.cc

Issue 2045553002: MIPS: Fix '[debug] implement intuitive semantics for stepping over await call.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | src/mips64/builtins-mips64.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 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/debug/debug.h" 8 #include "src/debug/debug.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 ExternalReference::debug_step_in_enabled_address(masm->isolate()); 847 ExternalReference::debug_step_in_enabled_address(masm->isolate());
848 __ li(t1, Operand(step_in_enabled)); 848 __ li(t1, Operand(step_in_enabled));
849 __ lb(t1, MemOperand(t1)); 849 __ lb(t1, MemOperand(t1));
850 __ Branch(&prepare_step_in_if_stepping, ne, t1, Operand(zero_reg)); 850 __ Branch(&prepare_step_in_if_stepping, ne, t1, Operand(zero_reg));
851 851
852 // Flood function if we need to continue stepping in the suspended generator. 852 // Flood function if we need to continue stepping in the suspended generator.
853 ExternalReference debug_suspended_generator = 853 ExternalReference debug_suspended_generator =
854 ExternalReference::debug_suspended_generator_address(masm->isolate()); 854 ExternalReference::debug_suspended_generator_address(masm->isolate());
855 __ li(t1, Operand(debug_suspended_generator)); 855 __ li(t1, Operand(debug_suspended_generator));
856 __ lw(t1, MemOperand(t1)); 856 __ lw(t1, MemOperand(t1));
857 __ Branch(&prepare_step_in_suspended_generator, eq, t1, Operand(zero_reg)); 857 __ Branch(&prepare_step_in_suspended_generator, eq, a1, Operand(t1));
858 __ bind(&stepping_prepared); 858 __ bind(&stepping_prepared);
859 859
860 // Push receiver. 860 // Push receiver.
861 __ lw(t1, FieldMemOperand(a1, JSGeneratorObject::kReceiverOffset)); 861 __ lw(t1, FieldMemOperand(a1, JSGeneratorObject::kReceiverOffset));
862 __ Push(t1); 862 __ Push(t1);
863 863
864 // ----------- S t a t e ------------- 864 // ----------- S t a t e -------------
865 // -- a1 : the JSGeneratorObject to resume 865 // -- a1 : the JSGeneratorObject to resume
866 // -- a2 : the resume mode (tagged) 866 // -- a2 : the resume mode (tagged)
867 // -- t0 : generator function 867 // -- t0 : generator function
(...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after
2881 } 2881 }
2882 } 2882 }
2883 2883
2884 2884
2885 #undef __ 2885 #undef __
2886 2886
2887 } // namespace internal 2887 } // namespace internal
2888 } // namespace v8 2888 } // namespace v8
2889 2889
2890 #endif // V8_TARGET_ARCH_MIPS 2890 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698