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

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

Issue 779843002: X87: Use weak cells to embed maps in store handler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/ic/x87/handler-compiler-x87.cc ('k') | src/x87/macro-assembler-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 Label* condition_met, 86 Label* condition_met,
87 Label::Distance condition_met_distance = Label::kFar); 87 Label::Distance condition_met_distance = Label::kFar);
88 88
89 void CheckPageFlagForMap( 89 void CheckPageFlagForMap(
90 Handle<Map> map, 90 Handle<Map> map,
91 int mask, 91 int mask,
92 Condition cc, 92 Condition cc,
93 Label* condition_met, 93 Label* condition_met,
94 Label::Distance condition_met_distance = Label::kFar); 94 Label::Distance condition_met_distance = Label::kFar);
95 95
96 void CheckMapDeprecated(Handle<Map> map,
97 Register scratch,
98 Label* if_deprecated);
99
100 // Check if object is in new space. Jumps if the object is not in new space. 96 // Check if object is in new space. Jumps if the object is not in new space.
101 // The register scratch can be object itself, but scratch will be clobbered. 97 // The register scratch can be object itself, but scratch will be clobbered.
102 void JumpIfNotInNewSpace(Register object, 98 void JumpIfNotInNewSpace(Register object,
103 Register scratch, 99 Register scratch,
104 Label* branch, 100 Label* branch,
105 Label::Distance distance = Label::kFar) { 101 Label::Distance distance = Label::kFar) {
106 InNewSpace(object, scratch, zero, branch, distance); 102 InNewSpace(object, scratch, zero, branch, distance);
107 } 103 }
108 104
109 // Check if object is in new space. Jumps if the object is in new space. 105 // Check if object is in new space. Jumps if the object is in new space.
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 } \ 1075 } \
1080 masm-> 1076 masm->
1081 #else 1077 #else
1082 #define ACCESS_MASM(masm) masm-> 1078 #define ACCESS_MASM(masm) masm->
1083 #endif 1079 #endif
1084 1080
1085 1081
1086 } } // namespace v8::internal 1082 } } // namespace v8::internal
1087 1083
1088 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1084 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/ic/x87/handler-compiler-x87.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698