| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 15 matching lines...) Expand all Loading... |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #include "v8.h" | 28 #include "v8.h" |
| 29 | 29 |
| 30 #if defined(V8_TARGET_ARCH_IA32) | 30 #if defined(V8_TARGET_ARCH_IA32) |
| 31 | 31 |
| 32 #include "bootstrapper.h" | 32 #include "bootstrapper.h" |
| 33 #include "code-stubs.h" | 33 #include "code-stubs.h" |
| 34 #include "isolate.h" | 34 #include "isolate.h" |
| 35 #include "jsregexp.h" | 35 #include "jsregexp.h" |
| 36 #include "macro-assembler-ia32-inl.h" | |
| 37 #include "regexp-macro-assembler.h" | 36 #include "regexp-macro-assembler.h" |
| 38 | 37 |
| 39 namespace v8 { | 38 namespace v8 { |
| 40 namespace internal { | 39 namespace internal { |
| 41 | 40 |
| 42 #define __ ACCESS_MASM(masm) | 41 #define __ ACCESS_MASM(masm) |
| 43 | 42 |
| 44 void ToNumberStub::Generate(MacroAssembler* masm) { | 43 void ToNumberStub::Generate(MacroAssembler* masm) { |
| 45 // The ToNumber stub takes one argument in eax. | 44 // The ToNumber stub takes one argument in eax. |
| 46 Label check_heap_number, call_builtin; | 45 Label check_heap_number, call_builtin; |
| (...skipping 6417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6464 regs_.Restore(masm); | 6463 regs_.Restore(masm); |
| 6465 __ ret(0); | 6464 __ ret(0); |
| 6466 } | 6465 } |
| 6467 | 6466 |
| 6468 | 6467 |
| 6469 #undef __ | 6468 #undef __ |
| 6470 | 6469 |
| 6471 } } // namespace v8::internal | 6470 } } // namespace v8::internal |
| 6472 | 6471 |
| 6473 #endif // V8_TARGET_ARCH_IA32 | 6472 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |