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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
343 | 343 |
344 if (FLAG_code_comments && instr->HasInterestingComment(this)) { | 344 if (FLAG_code_comments && instr->HasInterestingComment(this)) { |
345 Comment(";;; <@%d,#%d> %s", | 345 Comment(";;; <@%d,#%d> %s", |
346 current_instruction_, | 346 current_instruction_, |
347 instr->hydrogen_value()->id(), | 347 instr->hydrogen_value()->id(), |
348 instr->Mnemonic()); | 348 instr->Mnemonic()); |
349 } | 349 } |
350 | 350 |
351 if (!CpuFeatures::IsSupported(SSE2)) FlushX87StackIfNecessary(instr); | 351 if (!CpuFeatures::IsSupported(SSE2)) FlushX87StackIfNecessary(instr); |
352 | 352 |
353 int pos = instr->position(); | |
354 if (pos >= 0) RecordPosition(pos); | |
danno
2013/07/29 12:29:01
In order to optimize the size of the source pos ta
| |
355 | |
353 instr->CompileToNative(this); | 356 instr->CompileToNative(this); |
danno
2013/07/29 12:29:01
Not that your solution doesn't handle deferred cod
| |
354 | 357 |
355 if (!CpuFeatures::IsSupported(SSE2)) { | 358 if (!CpuFeatures::IsSupported(SSE2)) { |
356 if (FLAG_debug_code && FLAG_enable_slow_asserts) { | 359 if (FLAG_debug_code && FLAG_enable_slow_asserts) { |
357 __ VerifyX87StackDepth(x87_stack_depth_); | 360 __ VerifyX87StackDepth(x87_stack_depth_); |
358 } | 361 } |
359 } | 362 } |
360 } | 363 } |
361 EnsureSpaceForLazyDeopt(); | 364 EnsureSpaceForLazyDeopt(); |
362 return !is_aborted(); | 365 return !is_aborted(); |
363 } | 366 } |
(...skipping 6120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6484 FixedArray::kHeaderSize - kPointerSize)); | 6487 FixedArray::kHeaderSize - kPointerSize)); |
6485 __ bind(&done); | 6488 __ bind(&done); |
6486 } | 6489 } |
6487 | 6490 |
6488 | 6491 |
6489 #undef __ | 6492 #undef __ |
6490 | 6493 |
6491 } } // namespace v8::internal | 6494 } } // namespace v8::internal |
6492 | 6495 |
6493 #endif // V8_TARGET_ARCH_IA32 | 6496 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |