| 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 are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 #include "arguments.h" | 37 #include "arguments.h" |
| 38 #include "execution.h" | 38 #include "execution.h" |
| 39 #include "ic-inl.h" | 39 #include "ic-inl.h" |
| 40 #include "factory.h" | 40 #include "factory.h" |
| 41 #include "runtime.h" | 41 #include "runtime.h" |
| 42 #include "serialize.h" | 42 #include "serialize.h" |
| 43 #include "stub-cache.h" | 43 #include "stub-cache.h" |
| 44 #include "regexp-stack.h" | 44 #include "regexp-stack.h" |
| 45 | 45 |
| 46 namespace v8 { namespace internal { | 46 namespace v8 { |
| 47 namespace internal { |
| 47 | 48 |
| 48 | 49 |
| 49 // ----------------------------------------------------------------------------- | 50 // ----------------------------------------------------------------------------- |
| 50 // Implementation of Label | 51 // Implementation of Label |
| 51 | 52 |
| 52 int Label::pos() const { | 53 int Label::pos() const { |
| 53 if (pos_ < 0) return -pos_ - 1; | 54 if (pos_ < 0) return -pos_ - 1; |
| 54 if (pos_ > 0) return pos_ - 1; | 55 if (pos_ > 0) return pos_ - 1; |
| 55 UNREACHABLE(); | 56 UNREACHABLE(); |
| 56 return 0; | 57 return 0; |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 return ExternalReference(FUNCTION_ADDR(Debug::Break)); | 619 return ExternalReference(FUNCTION_ADDR(Debug::Break)); |
| 619 } | 620 } |
| 620 | 621 |
| 621 | 622 |
| 622 ExternalReference ExternalReference::debug_step_in_fp_address() { | 623 ExternalReference ExternalReference::debug_step_in_fp_address() { |
| 623 return ExternalReference(Debug::step_in_fp_addr()); | 624 return ExternalReference(Debug::step_in_fp_addr()); |
| 624 } | 625 } |
| 625 #endif | 626 #endif |
| 626 | 627 |
| 627 } } // namespace v8::internal | 628 } } // namespace v8::internal |
| OLD | NEW |