Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: src/ic.cc

Issue 11411033: Reduced TLS accesses even further. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reverted accidental change Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/handles.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/handles.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698