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

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

Issue 774473004: Use weak cells to embed maps in store handler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm64 Created 6 years 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/arm64/macro-assembler-arm64.cc ('k') | src/ia32/macro-assembler-ia32.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_IA32_MACRO_ASSEMBLER_IA32_H_ 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_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/frames.h" 10 #include "src/frames.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 Label* condition_met, 87 Label* condition_met,
88 Label::Distance condition_met_distance = Label::kFar); 88 Label::Distance condition_met_distance = Label::kFar);
89 89
90 void CheckPageFlagForMap( 90 void CheckPageFlagForMap(
91 Handle<Map> map, 91 Handle<Map> map,
92 int mask, 92 int mask,
93 Condition cc, 93 Condition cc,
94 Label* condition_met, 94 Label* condition_met,
95 Label::Distance condition_met_distance = Label::kFar); 95 Label::Distance condition_met_distance = Label::kFar);
96 96
97 void CheckMapDeprecated(Handle<Map> map,
98 Register scratch,
99 Label* if_deprecated);
100
101 // Check if object is in new space. Jumps if the object is not in new space. 97 // Check if object is in new space. Jumps if the object is not in new space.
102 // The register scratch can be object itself, but scratch will be clobbered. 98 // The register scratch can be object itself, but scratch will be clobbered.
103 void JumpIfNotInNewSpace(Register object, 99 void JumpIfNotInNewSpace(Register object,
104 Register scratch, 100 Register scratch,
105 Label* branch, 101 Label* branch,
106 Label::Distance distance = Label::kFar) { 102 Label::Distance distance = Label::kFar) {
107 InNewSpace(object, scratch, zero, branch, distance); 103 InNewSpace(object, scratch, zero, branch, distance);
108 } 104 }
109 105
110 // Check if object is in new space. Jumps if the object is in new space. 106 // Check if object is in new space. Jumps if the object is in new space.
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 } \ 1113 } \
1118 masm-> 1114 masm->
1119 #else 1115 #else
1120 #define ACCESS_MASM(masm) masm-> 1116 #define ACCESS_MASM(masm) masm->
1121 #endif 1117 #endif
1122 1118
1123 1119
1124 } } // namespace v8::internal 1120 } } // namespace v8::internal
1125 1121
1126 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1122 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/arm64/macro-assembler-arm64.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698