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

Side by Side Diff: src/x64/macro-assembler-x64.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/mips64/macro-assembler-mips64.cc ('k') | src/x64/macro-assembler-x64.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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 // Load the type feedback vector from a JavaScript frame. 1534 // Load the type feedback vector from a JavaScript frame.
1535 void EmitLoadTypeFeedbackVector(Register vector); 1535 void EmitLoadTypeFeedbackVector(Register vector);
1536 1536
1537 // Activation support. 1537 // Activation support.
1538 void EnterFrame(StackFrame::Type type); 1538 void EnterFrame(StackFrame::Type type);
1539 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg); 1539 void EnterFrame(StackFrame::Type type, bool load_constant_pool_pointer_reg);
1540 void LeaveFrame(StackFrame::Type type); 1540 void LeaveFrame(StackFrame::Type type);
1541 1541
1542 // Expects object in rax and returns map with validated enum cache 1542 // Expects object in rax and returns map with validated enum cache
1543 // in rax. Assumes that any other register can be used as a scratch. 1543 // in rax. Assumes that any other register can be used as a scratch.
1544 void CheckEnumCache(Register null_value, 1544 void CheckEnumCache(Label* call_runtime);
1545 Label* call_runtime);
1546 1545
1547 // AllocationMemento support. Arrays may have an associated 1546 // AllocationMemento support. Arrays may have an associated
1548 // AllocationMemento object that can be checked for in order to pretransition 1547 // AllocationMemento object that can be checked for in order to pretransition
1549 // to another type. 1548 // to another type.
1550 // On entry, receiver_reg should point to the array object. 1549 // On entry, receiver_reg should point to the array object.
1551 // scratch_reg gets clobbered. 1550 // scratch_reg gets clobbered.
1552 // If allocation info is present, condition flags are set to equal. 1551 // If allocation info is present, condition flags are set to equal.
1553 void TestJSArrayForAllocationMemento(Register receiver_reg, 1552 void TestJSArrayForAllocationMemento(Register receiver_reg,
1554 Register scratch_reg, 1553 Register scratch_reg,
1555 Label* no_memento_found); 1554 Label* no_memento_found);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1740 } \ 1739 } \
1741 masm-> 1740 masm->
1742 #else 1741 #else
1743 #define ACCESS_MASM(masm) masm-> 1742 #define ACCESS_MASM(masm) masm->
1744 #endif 1743 #endif
1745 1744
1746 } // namespace internal 1745 } // namespace internal
1747 } // namespace v8 1746 } // namespace v8
1748 1747
1749 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1748 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/mips64/macro-assembler-mips64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698