| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 const CallWrapper& call_wrapper) { | 319 const CallWrapper& call_wrapper) { |
| 320 InvokeCode(Operand(code), expected, actual, flag, call_wrapper); | 320 InvokeCode(Operand(code), expected, actual, flag, call_wrapper); |
| 321 } | 321 } |
| 322 | 322 |
| 323 void InvokeCode(const Operand& code, | 323 void InvokeCode(const Operand& code, |
| 324 const ParameterCount& expected, | 324 const ParameterCount& expected, |
| 325 const ParameterCount& actual, | 325 const ParameterCount& actual, |
| 326 InvokeFlag flag, | 326 InvokeFlag flag, |
| 327 const CallWrapper& call_wrapper); | 327 const CallWrapper& call_wrapper); |
| 328 | 328 |
| 329 void InvokeCode(Handle<Code> code, | |
| 330 const ParameterCount& expected, | |
| 331 const ParameterCount& actual, | |
| 332 RelocInfo::Mode rmode, | |
| 333 InvokeFlag flag, | |
| 334 const CallWrapper& call_wrapper); | |
| 335 | |
| 336 // Invoke the JavaScript function in the given register. Changes the | 329 // Invoke the JavaScript function in the given register. Changes the |
| 337 // current context to the context in the function before invoking. | 330 // current context to the context in the function before invoking. |
| 338 void InvokeFunction(Register function, | 331 void InvokeFunction(Register function, |
| 339 const ParameterCount& actual, | 332 const ParameterCount& actual, |
| 340 InvokeFlag flag, | 333 InvokeFlag flag, |
| 341 const CallWrapper& call_wrapper); | 334 const CallWrapper& call_wrapper); |
| 342 | 335 |
| 343 void InvokeFunction(Register function, | 336 void InvokeFunction(Register function, |
| 344 const ParameterCount& expected, | 337 const ParameterCount& expected, |
| 345 const ParameterCount& actual, | 338 const ParameterCount& actual, |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 } \ | 1114 } \ |
| 1122 masm-> | 1115 masm-> |
| 1123 #else | 1116 #else |
| 1124 #define ACCESS_MASM(masm) masm-> | 1117 #define ACCESS_MASM(masm) masm-> |
| 1125 #endif | 1118 #endif |
| 1126 | 1119 |
| 1127 | 1120 |
| 1128 } } // namespace v8::internal | 1121 } } // namespace v8::internal |
| 1129 | 1122 |
| 1130 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1123 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |