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

Side by Side Diff: src/assembler.h

Issue 12213080: Use EXTERNAL_REFERENCE instead of RUNTIME_ENTRY for deoptimization entries for ARM and MIPS (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 10 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/arm/lithium-codegen-arm.cc ('k') | src/assembler.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 (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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // Apply a relocation by delta bytes 338 // Apply a relocation by delta bytes
339 INLINE(void apply(intptr_t delta)); 339 INLINE(void apply(intptr_t delta));
340 340
341 // Is the pointer this relocation info refers to coded like a plain pointer 341 // Is the pointer this relocation info refers to coded like a plain pointer
342 // or is it strange in some way (e.g. relative or patched into a series of 342 // or is it strange in some way (e.g. relative or patched into a series of
343 // instructions). 343 // instructions).
344 bool IsCodedSpecially(); 344 bool IsCodedSpecially();
345 345
346 // Read/modify the code target in the branch/call instruction 346 // Read/modify the code target in the branch/call instruction
347 // this relocation applies to; 347 // this relocation applies to;
348 // can only be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY 348 // can only be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY ||
349 // rmode_ == EXTERNAL_REFERENCE
349 INLINE(Address target_address()); 350 INLINE(Address target_address());
350 INLINE(void set_target_address(Address target, 351 INLINE(void set_target_address(Address target,
351 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); 352 WriteBarrierMode mode = UPDATE_WRITE_BARRIER));
352 INLINE(Object* target_object()); 353 INLINE(Object* target_object());
353 INLINE(Handle<Object> target_object_handle(Assembler* origin)); 354 INLINE(Handle<Object> target_object_handle(Assembler* origin));
354 INLINE(Object** target_object_address()); 355 INLINE(Object** target_object_address());
355 INLINE(void set_target_object(Object* target, 356 INLINE(void set_target_object(Object* target,
356 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); 357 WriteBarrierMode mode = UPDATE_WRITE_BARRIER));
357 INLINE(JSGlobalPropertyCell* target_cell()); 358 INLINE(JSGlobalPropertyCell* target_cell());
358 INLINE(Handle<JSGlobalPropertyCell> target_cell_handle()); 359 INLINE(Handle<JSGlobalPropertyCell> target_cell_handle());
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 public: 972 public:
972 NullCallWrapper() { } 973 NullCallWrapper() { }
973 virtual ~NullCallWrapper() { } 974 virtual ~NullCallWrapper() { }
974 virtual void BeforeCall(int call_size) const { } 975 virtual void BeforeCall(int call_size) const { }
975 virtual void AfterCall() const { } 976 virtual void AfterCall() const { }
976 }; 977 };
977 978
978 } } // namespace v8::internal 979 } } // namespace v8::internal
979 980
980 #endif // V8_ASSEMBLER_H_ 981 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698