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 950283002: Move Maps' back pointers from "transitions" to "constructor" field (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix stupidity on arm64 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
« no previous file with comments | « src/x64/lithium-codegen-x64.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/frames.h" 10 #include "src/frames.h"
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 void NegativeZeroTest(CodeGenerator* cgen, 1239 void NegativeZeroTest(CodeGenerator* cgen,
1240 Register result, 1240 Register result,
1241 Register op, 1241 Register op,
1242 JumpTarget* then_target); 1242 JumpTarget* then_target);
1243 1243
1244 // Check if result is zero and any of op1 and op2 are negative. 1244 // Check if result is zero and any of op1 and op2 are negative.
1245 // Register scratch is destroyed, and it must be different from op2. 1245 // Register scratch is destroyed, and it must be different from op2.
1246 void NegativeZeroTest(Register result, Register op1, Register op2, 1246 void NegativeZeroTest(Register result, Register op1, Register op2,
1247 Register scratch, Label* then_label); 1247 Register scratch, Label* then_label);
1248 1248
1249 // Machine code version of Map::GetConstructor().
1250 // |temp| holds |result|'s map when done.
1251 void GetMapConstructor(Register result, Register map, Register temp);
1252
1249 // Try to get function prototype of a function and puts the value in 1253 // Try to get function prototype of a function and puts the value in
1250 // the result register. Checks that the function really is a 1254 // the result register. Checks that the function really is a
1251 // function and jumps to the miss label if the fast checks fail. The 1255 // function and jumps to the miss label if the fast checks fail. The
1252 // function register will be untouched; the other register may be 1256 // function register will be untouched; the other register may be
1253 // clobbered. 1257 // clobbered.
1254 void TryGetFunctionPrototype(Register function, 1258 void TryGetFunctionPrototype(Register function,
1255 Register result, 1259 Register result,
1256 Label* miss, 1260 Label* miss,
1257 bool miss_on_bound_function = false); 1261 bool miss_on_bound_function = false);
1258 1262
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 masm->popfq(); \ 1638 masm->popfq(); \
1635 } \ 1639 } \
1636 masm-> 1640 masm->
1637 #else 1641 #else
1638 #define ACCESS_MASM(masm) masm-> 1642 #define ACCESS_MASM(masm) masm->
1639 #endif 1643 #endif
1640 1644
1641 } } // namespace v8::internal 1645 } } // namespace v8::internal
1642 1646
1643 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1647 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698