| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 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 "arm/assembler-arm-inl.h" | 39 #include "arm/assembler-arm-inl.h" |
| 40 #include "serialize.h" | 40 #include "serialize.h" |
| 41 | 41 |
| 42 namespace v8 { namespace internal { | 42 namespace v8 { |
| 43 namespace internal { |
| 43 | 44 |
| 44 // ----------------------------------------------------------------------------- | 45 // ----------------------------------------------------------------------------- |
| 45 // Implementation of Register and CRegister | 46 // Implementation of Register and CRegister |
| 46 | 47 |
| 47 Register no_reg = { -1 }; | 48 Register no_reg = { -1 }; |
| 48 | 49 |
| 49 Register r0 = { 0 }; | 50 Register r0 = { 0 }; |
| 50 Register r1 = { 1 }; | 51 Register r1 = { 1 }; |
| 51 Register r2 = { 2 }; | 52 Register r2 = { 2 }; |
| 52 Register r3 = { 3 }; | 53 Register r3 = { 3 }; |
| (...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1464 bind(&after_pool); | 1465 bind(&after_pool); |
| 1465 } | 1466 } |
| 1466 | 1467 |
| 1467 // Since a constant pool was just emitted, move the check offset forward by | 1468 // Since a constant pool was just emitted, move the check offset forward by |
| 1468 // the standard interval. | 1469 // the standard interval. |
| 1469 next_buffer_check_ = pc_offset() + kCheckConstInterval; | 1470 next_buffer_check_ = pc_offset() + kCheckConstInterval; |
| 1470 } | 1471 } |
| 1471 | 1472 |
| 1472 | 1473 |
| 1473 } } // namespace v8::internal | 1474 } } // namespace v8::internal |
| OLD | NEW |