| 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 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2561 if (caught_exception) { | 2561 if (caught_exception) { |
| 2562 return Failure::Exception(); | 2562 return Failure::Exception(); |
| 2563 } | 2563 } |
| 2564 return *result; | 2564 return *result; |
| 2565 } | 2565 } |
| 2566 | 2566 |
| 2567 | 2567 |
| 2568 Code* CompareIC::GetRawUninitialized(Token::Value op) { | 2568 Code* CompareIC::GetRawUninitialized(Token::Value op) { |
| 2569 ICCompareStub stub(op, UNINITIALIZED, UNINITIALIZED, UNINITIALIZED); | 2569 ICCompareStub stub(op, UNINITIALIZED, UNINITIALIZED, UNINITIALIZED); |
| 2570 Code* code = NULL; | 2570 Code* code = NULL; |
| 2571 CHECK(stub.FindCodeInCache(&code)); | 2571 CHECK(stub.FindCodeInCache(&code, Isolate::Current())); |
| 2572 return code; | 2572 return code; |
| 2573 } | 2573 } |
| 2574 | 2574 |
| 2575 | 2575 |
| 2576 Handle<Code> CompareIC::GetUninitialized(Token::Value op) { | 2576 Handle<Code> CompareIC::GetUninitialized(Token::Value op) { |
| 2577 ICCompareStub stub(op, UNINITIALIZED, UNINITIALIZED, UNINITIALIZED); | 2577 ICCompareStub stub(op, UNINITIALIZED, UNINITIALIZED, UNINITIALIZED); |
| 2578 return stub.GetCode(); | 2578 return stub.GetCode(); |
| 2579 } | 2579 } |
| 2580 | 2580 |
| 2581 | 2581 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2769 #undef ADDR | 2769 #undef ADDR |
| 2770 }; | 2770 }; |
| 2771 | 2771 |
| 2772 | 2772 |
| 2773 Address IC::AddressFromUtilityId(IC::UtilityId id) { | 2773 Address IC::AddressFromUtilityId(IC::UtilityId id) { |
| 2774 return IC_utilities[id]; | 2774 return IC_utilities[id]; |
| 2775 } | 2775 } |
| 2776 | 2776 |
| 2777 | 2777 |
| 2778 } } // namespace v8::internal | 2778 } } // namespace v8::internal |
| OLD | NEW |