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

Side by Side Diff: src/arm64/macro-assembler-arm64.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/arm/macro-assembler-arm.cc ('k') | src/arm64/macro-assembler-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 1576
1577 // Load the type feedback vector from a JavaScript frame. 1577 // Load the type feedback vector from a JavaScript frame.
1578 void EmitLoadTypeFeedbackVector(Register vector); 1578 void EmitLoadTypeFeedbackVector(Register vector);
1579 1579
1580 // Activation support. 1580 // Activation support.
1581 void EnterFrame(StackFrame::Type type); 1581 void EnterFrame(StackFrame::Type type);
1582 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); 1582 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg);
1583 void LeaveFrame(StackFrame::Type type); 1583 void LeaveFrame(StackFrame::Type type);
1584 1584
1585 // Returns map with validated enum cache in object register. 1585 // Returns map with validated enum cache in object register.
1586 void CheckEnumCache(Register object, 1586 void CheckEnumCache(Register object, Register scratch0, Register scratch1,
1587 Register null_value, 1587 Register scratch2, Register scratch3, Register scratch4,
1588 Register scratch0,
1589 Register scratch1,
1590 Register scratch2,
1591 Register scratch3,
1592 Label* call_runtime); 1588 Label* call_runtime);
1593 1589
1594 // AllocationMemento support. Arrays may have an associated 1590 // AllocationMemento support. Arrays may have an associated
1595 // AllocationMemento object that can be checked for in order to pretransition 1591 // AllocationMemento object that can be checked for in order to pretransition
1596 // to another type. 1592 // to another type.
1597 // On entry, receiver should point to the array object. 1593 // On entry, receiver should point to the array object.
1598 // If allocation info is present, the Z flag is set (so that the eq 1594 // If allocation info is present, the Z flag is set (so that the eq
1599 // condition will pass). 1595 // condition will pass).
1600 void TestJSArrayForAllocationMemento(Register receiver, 1596 void TestJSArrayForAllocationMemento(Register receiver,
1601 Register scratch1, 1597 Register scratch1,
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
2249 #error "Unsupported option" 2245 #error "Unsupported option"
2250 #define CODE_COVERAGE_STRINGIFY(x) #x 2246 #define CODE_COVERAGE_STRINGIFY(x) #x
2251 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2247 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2252 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2248 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2253 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2249 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2254 #else 2250 #else
2255 #define ACCESS_MASM(masm) masm-> 2251 #define ACCESS_MASM(masm) masm->
2256 #endif 2252 #endif
2257 2253
2258 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2254 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698