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

Side by Side Diff: src/virtual-frame-ia32.h

Issue 17615: Experimental: use register allocation in the code for keyed property (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 11 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
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 Result CallRuntime(Runtime::FunctionId id, int frame_arg_count); 340 Result CallRuntime(Runtime::FunctionId id, int frame_arg_count);
341 341
342 // Invoke a builtin, given the number of arguments it expects on (and 342 // Invoke a builtin, given the number of arguments it expects on (and
343 // removes from) the top of the physical frame. 343 // removes from) the top of the physical frame.
344 void InvokeBuiltin(Builtins::JavaScript id, 344 void InvokeBuiltin(Builtins::JavaScript id,
345 InvokeFlag flag, 345 InvokeFlag flag,
346 int frame_arg_count); 346 int frame_arg_count);
347 347
348 // Call into a JS code object, given the number of arguments it expects on 348 // Call into a JS code object, given the number of arguments it expects on
349 // (and removes from) the top of the physical frame. 349 // (and removes from) the top of the physical frame.
350 void CallCodeObject(Handle<Code> ic, 350 Result CallCodeObject(Handle<Code> ic,
351 RelocInfo::Mode rmode, 351 RelocInfo::Mode rmode,
352 int frame_arg_count); 352 int frame_arg_count);
353 353
354 // Drop a number of elements from the top of the expression stack. May 354 // Drop a number of elements from the top of the expression stack. May
355 // emit code to affect the physical frame. Does not clobber any registers 355 // emit code to affect the physical frame. Does not clobber any registers
356 // excepting possibly the stack pointer. 356 // excepting possibly the stack pointer.
357 void Drop(int count); 357 void Drop(int count);
358 358
359 // Drop one element. 359 // Drop one element.
360 void Drop() { Drop(1); } 360 void Drop() { Drop(1); }
361 361
362 // Duplicate the top element of the frame. 362 // Duplicate the top element of the frame.
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // Called after all register-to-memory and register-to-register 522 // Called after all register-to-memory and register-to-register
523 // moves have been made. After this function returns, the frames 523 // moves have been made. After this function returns, the frames
524 // should be equal. 524 // should be equal.
525 void MergeMoveMemoryToRegisters(VirtualFrame* expected); 525 void MergeMoveMemoryToRegisters(VirtualFrame* expected);
526 }; 526 };
527 527
528 528
529 } } // namespace v8::internal 529 } } // namespace v8::internal
530 530
531 #endif // V8_VIRTUAL_FRAME_IA32_H_ 531 #endif // V8_VIRTUAL_FRAME_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698