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

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

Issue 892843002: Add mistagging-readbarrier to weak cell Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } else { 293 } else {
294 cmp(reg, Immediate(object)); 294 cmp(reg, Immediate(object));
295 } 295 }
296 } 296 }
297 297
298 // Compare the given value and the value of weak cell. 298 // Compare the given value and the value of weak cell.
299 void CmpWeakValue(Register value, Handle<WeakCell> cell, Register scratch); 299 void CmpWeakValue(Register value, Handle<WeakCell> cell, Register scratch);
300 300
301 // Load the value of the weak cell in the value register. Branch to the given 301 // Load the value of the weak cell in the value register. Branch to the given
302 // miss label if the weak cell was cleared. 302 // miss label if the weak cell was cleared.
303 void LoadWeakValue(Register value, Handle<WeakCell> cell, Label* miss); 303 void LoadWeakValue(Register value, Register scratch, Handle<WeakCell> cell,
304 Label* miss);
304 305
305 // --------------------------------------------------------------------------- 306 // ---------------------------------------------------------------------------
306 // JavaScript invokes 307 // JavaScript invokes
307 308
308 // Invoke the JavaScript function code by either calling or jumping. 309 // Invoke the JavaScript function code by either calling or jumping.
309 void InvokeCode(Register code, 310 void InvokeCode(Register code,
310 const ParameterCount& expected, 311 const ParameterCount& expected,
311 const ParameterCount& actual, 312 const ParameterCount& actual,
312 InvokeFlag flag, 313 InvokeFlag flag,
313 const CallWrapper& call_wrapper) { 314 const CallWrapper& call_wrapper) {
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 } \ 1090 } \
1090 masm-> 1091 masm->
1091 #else 1092 #else
1092 #define ACCESS_MASM(masm) masm-> 1093 #define ACCESS_MASM(masm) masm->
1093 #endif 1094 #endif
1094 1095
1095 1096
1096 } } // namespace v8::internal 1097 } } // namespace v8::internal
1097 1098
1098 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1099 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698