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

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

Issue 762483004: MIPS: 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/mips64/handler-compiler-mips64.cc ('k') | src/mips/macro-assembler-mips.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_MIPS_MACRO_ASSEMBLER_MIPS_H_ 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 Register scratch, 308 Register scratch,
309 SaveFPRegsMode save_fp, 309 SaveFPRegsMode save_fp,
310 RememberedSetFinalAction and_then); 310 RememberedSetFinalAction and_then);
311 311
312 void CheckPageFlag(Register object, 312 void CheckPageFlag(Register object,
313 Register scratch, 313 Register scratch,
314 int mask, 314 int mask,
315 Condition cc, 315 Condition cc,
316 Label* condition_met); 316 Label* condition_met);
317 317
318 void CheckMapDeprecated(Handle<Map> map,
319 Register scratch,
320 Label* if_deprecated);
321
322 // Check if object is in new space. Jumps if the object is not in new space. 318 // Check if object is in new space. Jumps if the object is not in new space.
323 // The register scratch can be object itself, but it will be clobbered. 319 // The register scratch can be object itself, but it will be clobbered.
324 void JumpIfNotInNewSpace(Register object, 320 void JumpIfNotInNewSpace(Register object,
325 Register scratch, 321 Register scratch,
326 Label* branch) { 322 Label* branch) {
327 InNewSpace(object, scratch, ne, branch); 323 InNewSpace(object, scratch, ne, branch);
328 } 324 }
329 325
330 // Check if object is in new space. Jumps if the object is in new space. 326 // Check if object is in new space. Jumps if the object is in new space.
331 // The register scratch can be object itself, but scratch will be clobbered. 327 // The register scratch can be object itself, but scratch will be clobbered.
(...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 1726 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
1731 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1727 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1732 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1728 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1733 #else 1729 #else
1734 #define ACCESS_MASM(masm) masm-> 1730 #define ACCESS_MASM(masm) masm->
1735 #endif 1731 #endif
1736 1732
1737 } } // namespace v8::internal 1733 } } // namespace v8::internal
1738 1734
1739 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1735 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ic/mips64/handler-compiler-mips64.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698