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

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

Issue 1322843005: Remove obsolete functionality from the MacroAssemblers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm64. Created 5 years, 3 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/arm/macro-assembler-arm.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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 445
446 // Check if the object in register heap_object is a name. Afterwards the 446 // Check if the object in register heap_object is a name. Afterwards the
447 // register map contains the object map and the register instance_type 447 // register map contains the object map and the register instance_type
448 // contains the instance_type. The registers map and instance_type can be the 448 // contains the instance_type. The registers map and instance_type can be the
449 // same in which case it contains the instance type afterwards. Either of the 449 // same in which case it contains the instance type afterwards. Either of the
450 // registers map and instance_type can be the same as heap_object. 450 // registers map and instance_type can be the same as heap_object.
451 Condition IsObjectNameType(Register heap_object, 451 Condition IsObjectNameType(Register heap_object,
452 Register map, 452 Register map,
453 Register instance_type); 453 Register instance_type);
454 454
455 // Check if a heap object's type is in the JSObject range, not including
456 // JSFunction. The object's map will be loaded in the map register.
457 // Any or all of the three registers may be the same.
458 // The contents of the scratch register will always be overwritten.
459 void IsObjectJSObjectType(Register heap_object,
460 Register map,
461 Register scratch,
462 Label* fail);
463
464 // The contents of the scratch register will be overwritten.
465 void IsInstanceJSObjectType(Register map, Register scratch, Label* fail);
466
467 // FCmp is similar to integer cmp, but requires unsigned 455 // FCmp is similar to integer cmp, but requires unsigned
468 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). 456 // jcc instructions (je, ja, jae, jb, jbe, je, and jz).
469 void FCmp(); 457 void FCmp();
470 458
471 void ClampUint8(Register reg); 459 void ClampUint8(Register reg);
472 460
473 void ClampDoubleToUint8(XMMRegister input_reg, 461 void ClampDoubleToUint8(XMMRegister input_reg,
474 XMMRegister scratch_reg, 462 XMMRegister scratch_reg,
475 Register result_reg); 463 Register result_reg);
476 464
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 } \ 1095 } \
1108 masm-> 1096 masm->
1109 #else 1097 #else
1110 #define ACCESS_MASM(masm) masm-> 1098 #define ACCESS_MASM(masm) masm->
1111 #endif 1099 #endif
1112 1100
1113 1101
1114 } } // namespace v8::internal 1102 } } // namespace v8::internal
1115 1103
1116 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1104 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698