| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 Label* condition_met, | 84 Label* condition_met, |
| 85 Label::Distance condition_met_distance = Label::kFar); | 85 Label::Distance condition_met_distance = Label::kFar); |
| 86 | 86 |
| 87 void CheckPageFlagForMap( | 87 void CheckPageFlagForMap( |
| 88 Handle<Map> map, | 88 Handle<Map> map, |
| 89 int mask, | 89 int mask, |
| 90 Condition cc, | 90 Condition cc, |
| 91 Label* condition_met, | 91 Label* condition_met, |
| 92 Label::Distance condition_met_distance = Label::kFar); | 92 Label::Distance condition_met_distance = Label::kFar); |
| 93 | 93 |
| 94 void CheckMapDeprecated(Handle<Map> map, |
| 95 Register scratch, |
| 96 Label* if_deprecated); |
| 97 |
| 94 // Check if object is in new space. Jumps if the object is not in new space. | 98 // Check if object is in new space. Jumps if the object is not in new space. |
| 95 // The register scratch can be object itself, but scratch will be clobbered. | 99 // The register scratch can be object itself, but scratch will be clobbered. |
| 96 void JumpIfNotInNewSpace(Register object, | 100 void JumpIfNotInNewSpace(Register object, |
| 97 Register scratch, | 101 Register scratch, |
| 98 Label* branch, | 102 Label* branch, |
| 99 Label::Distance distance = Label::kFar) { | 103 Label::Distance distance = Label::kFar) { |
| 100 InNewSpace(object, scratch, zero, branch, distance); | 104 InNewSpace(object, scratch, zero, branch, distance); |
| 101 } | 105 } |
| 102 | 106 |
| 103 // Check if object is in new space. Jumps if the object is in new space. | 107 // Check if object is in new space. Jumps if the object is in new space. |
| (...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 } \ | 1029 } \ |
| 1026 masm-> | 1030 masm-> |
| 1027 #else | 1031 #else |
| 1028 #define ACCESS_MASM(masm) masm-> | 1032 #define ACCESS_MASM(masm) masm-> |
| 1029 #endif | 1033 #endif |
| 1030 | 1034 |
| 1031 | 1035 |
| 1032 } } // namespace v8::internal | 1036 } } // namespace v8::internal |
| 1033 | 1037 |
| 1034 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1038 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |