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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 1618613002: [for-in] Sanitize for-in optimizations and fix bailout points. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/full-codegen/x64/full-codegen-x64.cc ('k') | src/mips/macro-assembler-mips.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 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 // Load the type feedback vector from a JavaScript frame. 1588 // Load the type feedback vector from a JavaScript frame.
1589 void EmitLoadTypeFeedbackVector(Register vector); 1589 void EmitLoadTypeFeedbackVector(Register vector);
1590 1590
1591 // Activation support. 1591 // Activation support.
1592 void EnterFrame(StackFrame::Type type); 1592 void EnterFrame(StackFrame::Type type);
1593 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); 1593 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg);
1594 void LeaveFrame(StackFrame::Type type); 1594 void LeaveFrame(StackFrame::Type type);
1595 1595
1596 // Expects object in a0 and returns map with validated enum cache 1596 // Expects object in a0 and returns map with validated enum cache
1597 // in a0. Assumes that any other register can be used as a scratch. 1597 // in a0. Assumes that any other register can be used as a scratch.
1598 void CheckEnumCache(Register null_value, Label* call_runtime); 1598 void CheckEnumCache(Label* call_runtime);
1599 1599
1600 // AllocationMemento support. Arrays may have an associated 1600 // AllocationMemento support. Arrays may have an associated
1601 // AllocationMemento object that can be checked for in order to pretransition 1601 // AllocationMemento object that can be checked for in order to pretransition
1602 // to another type. 1602 // to another type.
1603 // On entry, receiver_reg should point to the array object. 1603 // On entry, receiver_reg should point to the array object.
1604 // scratch_reg gets clobbered. 1604 // scratch_reg gets clobbered.
1605 // If allocation info is present, jump to allocation_memento_present. 1605 // If allocation info is present, jump to allocation_memento_present.
1606 void TestJSArrayForAllocationMemento( 1606 void TestJSArrayForAllocationMemento(
1607 Register receiver_reg, 1607 Register receiver_reg,
1608 Register scratch_reg, 1608 Register scratch_reg,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1754 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1754 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1755 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1755 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1756 #else 1756 #else
1757 #define ACCESS_MASM(masm) masm-> 1757 #define ACCESS_MASM(masm) masm->
1758 #endif 1758 #endif
1759 1759
1760 } // namespace internal 1760 } // namespace internal
1761 } // namespace v8 1761 } // namespace v8
1762 1762
1763 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1763 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698