| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // The original source code covered by the above license above has been modified | 33 // The original source code covered by the above license above has been modified |
| 34 // significantly by Google Inc. | 34 // significantly by Google Inc. |
| 35 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 35 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 36 | 36 |
| 37 #include "v8.h" | 37 #include "v8.h" |
| 38 | 38 |
| 39 #include "disassembler.h" | 39 #include "disassembler.h" |
| 40 #include "macro-assembler.h" | 40 #include "macro-assembler.h" |
| 41 #include "serialize.h" | 41 #include "serialize.h" |
| 42 | 42 |
| 43 namespace v8 { namespace internal { | 43 namespace v8 { |
| 44 namespace internal { |
| 44 | 45 |
| 45 // ----------------------------------------------------------------------------- | 46 // ----------------------------------------------------------------------------- |
| 46 // Implementation of Register | 47 // Implementation of Register |
| 47 | 48 |
| 48 Register eax = { 0 }; | 49 Register eax = { 0 }; |
| 49 Register ecx = { 1 }; | 50 Register ecx = { 1 }; |
| 50 Register edx = { 2 }; | 51 Register edx = { 2 }; |
| 51 Register ebx = { 3 }; | 52 Register ebx = { 3 }; |
| 52 Register esp = { 4 }; | 53 Register esp = { 4 }; |
| 53 Register ebp = { 5 }; | 54 Register ebp = { 5 }; |
| (...skipping 2163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2217 push_insn[1] = 13; // Skip over coverage insns. | 2218 push_insn[1] = 13; // Skip over coverage insns. |
| 2218 if (coverage_log != NULL) { | 2219 if (coverage_log != NULL) { |
| 2219 fprintf(coverage_log, "%s\n", file_line); | 2220 fprintf(coverage_log, "%s\n", file_line); |
| 2220 fflush(coverage_log); | 2221 fflush(coverage_log); |
| 2221 } | 2222 } |
| 2222 } | 2223 } |
| 2223 | 2224 |
| 2224 #endif | 2225 #endif |
| 2225 | 2226 |
| 2226 } } // namespace v8::internal | 2227 } } // namespace v8::internal |
| OLD | NEW |