Changeset 36402 in webkit for trunk/JavaScriptCore/VM/CTI.cpp
- Timestamp:
- Sep 14, 2008, 1:33:03 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.cpp
r36401 r36402 177 177 178 178 #if ENABLE(SAMPLING_TOOL) 179 unsigned in call= 0;179 unsigned inCalledCode = 0; 180 180 #endif 181 181 … … 246 246 { 247 247 #if ENABLE(SAMPLING_TOOL) 248 m_jit.movl_i32m(1, &in call);248 m_jit.movl_i32m(1, &inCalledCode); 249 249 #endif 250 250 m_calls.append(CallRecord(m_jit.emitCall(), helper, opcodeIndex)); 251 251 emitDebugExceptionCheck(); 252 252 #if ENABLE(SAMPLING_TOOL) 253 m_jit.movl_i32m(0, &in call);253 m_jit.movl_i32m(0, &inCalledCode); 254 254 #endif 255 255 } … … 258 258 { 259 259 #if ENABLE(SAMPLING_TOOL) 260 m_jit.movl_i32m(1, &in call);260 m_jit.movl_i32m(1, &inCalledCode); 261 261 #endif 262 262 m_calls.append(CallRecord(m_jit.emitCall(), helper, opcodeIndex)); 263 263 emitDebugExceptionCheck(); 264 264 #if ENABLE(SAMPLING_TOOL) 265 m_jit.movl_i32m(0, &in call);265 m_jit.movl_i32m(0, &inCalledCode); 266 266 #endif 267 267 } … … 270 270 { 271 271 #if ENABLE(SAMPLING_TOOL) 272 m_jit.movl_i32m(1, &in call);272 m_jit.movl_i32m(1, &inCalledCode); 273 273 #endif 274 274 m_calls.append(CallRecord(m_jit.emitCall(), helper, opcodeIndex)); 275 275 emitDebugExceptionCheck(); 276 276 #if ENABLE(SAMPLING_TOOL) 277 m_jit.movl_i32m(0, &in call);277 m_jit.movl_i32m(0, &inCalledCode); 278 278 #endif 279 279 } … … 282 282 { 283 283 #if ENABLE(SAMPLING_TOOL) 284 m_jit.movl_i32m(1, &in call);284 m_jit.movl_i32m(1, &inCalledCode); 285 285 #endif 286 286 m_calls.append(CallRecord(m_jit.emitCall(), helper, opcodeIndex)); 287 287 emitDebugExceptionCheck(); 288 288 #if ENABLE(SAMPLING_TOOL) 289 m_jit.movl_i32m(0, &in call);289 m_jit.movl_i32m(0, &inCalledCode); 290 290 #endif 291 291 } … … 294 294 { 295 295 #if ENABLE(SAMPLING_TOOL) 296 m_jit.movl_i32m(1, &in call);296 m_jit.movl_i32m(1, &inCalledCode); 297 297 #endif 298 298 m_calls.append(CallRecord(m_jit.emitCall(), helper, opcodeIndex)); 299 299 emitDebugExceptionCheck(); 300 300 #if ENABLE(SAMPLING_TOOL) 301 m_jit.movl_i32m(0, &in call);301 m_jit.movl_i32m(0, &inCalledCode); 302 302 #endif 303 303 } … … 376 376 377 377 #if ENABLE(SAMPLING_TOOL) 378 OpcodeID what = (OpcodeID)-1;378 OpcodeID currentOpcodeID = static_cast<OpcodeID>(-1); 379 379 #endif 380 380 … … 465 465 466 466 #if ENABLE(SAMPLING_TOOL) 467 m_jit.movl_i32m(m_machine->getOpcodeID(instruction[i].u.opcode), & what);467 m_jit.movl_i32m(m_machine->getOpcodeID(instruction[i].u.opcode), ¤tOpcodeID); 468 468 #endif 469 469 … … 519 519 emitGetArg(instruction[i + 1].u.operand, X86::eax); 520 520 #if ENABLE(SAMPLING_TOOL) 521 m_jit.movl_i32m(-1, & what);521 m_jit.movl_i32m(-1, ¤tOpcodeID); 522 522 #endif 523 523 m_jit.pushl_m(-((m_codeBlock->numLocals + RegisterFile::CallFrameHeaderSize) - RegisterFile::CTIReturnEIP) * sizeof(Register), X86::edi);
Note:
See TracChangeset
for help on using the changeset viewer.