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

Side by Side Diff: src/ic.cc

Issue 11744020: Rename RelocInfo::NONE to RelocInfo::NONE32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 months 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/ia32/macro-assembler-ia32.cc ('k') | src/mips/assembler-mips.h » ('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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 RelocInfo::Mode IC::ComputeMode() { 267 RelocInfo::Mode IC::ComputeMode() {
268 Address addr = address(); 268 Address addr = address();
269 Code* code = Code::cast(isolate()->heap()->FindCodeObject(addr)); 269 Code* code = Code::cast(isolate()->heap()->FindCodeObject(addr));
270 for (RelocIterator it(code, RelocInfo::kCodeTargetMask); 270 for (RelocIterator it(code, RelocInfo::kCodeTargetMask);
271 !it.done(); it.next()) { 271 !it.done(); it.next()) {
272 RelocInfo* info = it.rinfo(); 272 RelocInfo* info = it.rinfo();
273 if (info->pc() == addr) return info->rmode(); 273 if (info->pc() == addr) return info->rmode();
274 } 274 }
275 UNREACHABLE(); 275 UNREACHABLE();
276 return RelocInfo::NONE; 276 return RelocInfo::NONE32;
277 } 277 }
278 278
279 279
280 Failure* IC::TypeError(const char* type, 280 Failure* IC::TypeError(const char* type,
281 Handle<Object> object, 281 Handle<Object> object,
282 Handle<Object> key) { 282 Handle<Object> key) {
283 HandleScope scope(isolate()); 283 HandleScope scope(isolate());
284 Handle<Object> args[2] = { key, object }; 284 Handle<Object> args[2] = { key, object };
285 Handle<Object> error = isolate()->factory()->NewTypeError( 285 Handle<Object> error = isolate()->factory()->NewTypeError(
286 type, HandleVector(args, 2)); 286 type, HandleVector(args, 2));
(...skipping 2488 matching lines...) Expand 10 before | Expand all | Expand 10 after
2775 #undef ADDR 2775 #undef ADDR
2776 }; 2776 };
2777 2777
2778 2778
2779 Address IC::AddressFromUtilityId(IC::UtilityId id) { 2779 Address IC::AddressFromUtilityId(IC::UtilityId id) {
2780 return IC_utilities[id]; 2780 return IC_utilities[id];
2781 } 2781 }
2782 2782
2783 2783
2784 } } // namespace v8::internal 2784 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/mips/assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698