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 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 MemOperand SafepointRegistersAndDoublesSlot(Register reg); | 1368 MemOperand SafepointRegistersAndDoublesSlot(Register reg); |
1369 | 1369 |
1370 bool generating_stub_; | 1370 bool generating_stub_; |
1371 bool allow_stub_calls_; | 1371 bool allow_stub_calls_; |
1372 bool has_frame_; | 1372 bool has_frame_; |
1373 // This handle will be patched with the code object on installation. | 1373 // This handle will be patched with the code object on installation. |
1374 Handle<Object> code_object_; | 1374 Handle<Object> code_object_; |
1375 | 1375 |
1376 // Needs access to SafepointRegisterStackIndex for compiled frame | 1376 // Needs access to SafepointRegisterStackIndex for compiled frame |
1377 // traversal. | 1377 // traversal. |
1378 friend class CompiledFrame; | 1378 friend class StandardFrame; |
1379 }; | 1379 }; |
1380 | 1380 |
1381 | 1381 |
1382 // The code patcher is used to patch (typically) small parts of code e.g. for | 1382 // The code patcher is used to patch (typically) small parts of code e.g. for |
1383 // debugging and other types of instrumentation. When using the code patcher | 1383 // debugging and other types of instrumentation. When using the code patcher |
1384 // the exact number of bytes specified must be emitted. It is not legal to emit | 1384 // the exact number of bytes specified must be emitted. It is not legal to emit |
1385 // relocation information. If any of these constraints are violated it causes | 1385 // relocation information. If any of these constraints are violated it causes |
1386 // an assertion to fail. | 1386 // an assertion to fail. |
1387 class CodePatcher { | 1387 class CodePatcher { |
1388 public: | 1388 public: |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1429 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1429 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1430 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1430 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1431 #else | 1431 #else |
1432 #define ACCESS_MASM(masm) masm-> | 1432 #define ACCESS_MASM(masm) masm-> |
1433 #endif | 1433 #endif |
1434 | 1434 |
1435 | 1435 |
1436 } } // namespace v8::internal | 1436 } } // namespace v8::internal |
1437 | 1437 |
1438 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1438 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |