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

Side by Side Diff: src/arm/codegen-arm.h

Issue 1715003: Add inlining of property load on ARM... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 8 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 inline void LoadConditionAndSpill(Expression* expression, 280 inline void LoadConditionAndSpill(Expression* expression,
281 JumpTarget* true_target, 281 JumpTarget* true_target,
282 JumpTarget* false_target, 282 JumpTarget* false_target,
283 bool force_control); 283 bool force_control);
284 284
285 // Read a value from a slot and leave it on top of the expression stack. 285 // Read a value from a slot and leave it on top of the expression stack.
286 void LoadFromSlot(Slot* slot, TypeofState typeof_state); 286 void LoadFromSlot(Slot* slot, TypeofState typeof_state);
287 // Store the value on top of the stack to a slot. 287 // Store the value on top of the stack to a slot.
288 void StoreToSlot(Slot* slot, InitState init_state); 288 void StoreToSlot(Slot* slot, InitState init_state);
289 289
290 // Load a named property, leaving it in r0. The receiver is passed on the
291 // stack, and remain there.
292 void EmitNamedLoad(Handle<String> name, bool is_contextual);
293
290 // Load a keyed property, leaving it in r0. The receiver and key are 294 // Load a keyed property, leaving it in r0. The receiver and key are
291 // passed on the stack, and remain there. 295 // passed on the stack, and remain there.
292 void EmitKeyedLoad(bool is_global); 296 void EmitKeyedLoad(bool is_global);
293 297
294 void LoadFromGlobalSlotCheckExtensions(Slot* slot, 298 void LoadFromGlobalSlotCheckExtensions(Slot* slot,
295 TypeofState typeof_state, 299 TypeofState typeof_state,
296 Register tmp, 300 Register tmp,
297 Register tmp2, 301 Register tmp2,
298 JumpTarget* slow); 302 JumpTarget* slow);
299 303
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 void Print() { 821 void Print() {
818 PrintF("NumberToStringStub\n"); 822 PrintF("NumberToStringStub\n");
819 } 823 }
820 #endif 824 #endif
821 }; 825 };
822 826
823 827
824 } } // namespace v8::internal 828 } } // namespace v8::internal
825 829
826 #endif // V8_ARM_CODEGEN_ARM_H_ 830 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm/codegen-arm.cc » ('j') | src/arm/ic-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698