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

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

Issue 57052: * String type inference using compiler framework. (Closed)
Patch Set: Changes relative to head of bleeding edge (don't do diff with earlier versions) Created 11 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
« no previous file with comments | « src/virtual-frame.cc ('k') | src/virtual-frame-ia32.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 305
306 // Pop and save an element from the top of the expression stack and 306 // Pop and save an element from the top of the expression stack and
307 // emit a corresponding pop instruction. 307 // emit a corresponding pop instruction.
308 void EmitPop(Register reg); 308 void EmitPop(Register reg);
309 309
310 // Push an element on top of the expression stack and emit a 310 // Push an element on top of the expression stack and emit a
311 // corresponding push instruction. 311 // corresponding push instruction.
312 void EmitPush(Register reg); 312 void EmitPush(Register reg);
313 313
314 // Push an element on the virtual frame. 314 // Push an element on the virtual frame.
315 void Push(Register reg); 315 void Push(Register reg, StaticType static_type = StaticType());
316 void Push(Handle<Object> value); 316 void Push(Handle<Object> value);
317 void Push(Smi* value) { Push(Handle<Object>(value)); } 317 void Push(Smi* value) { Push(Handle<Object>(value)); }
318 318
319 // Pushing a result invalidates it (its contents become owned by the 319 // Pushing a result invalidates it (its contents become owned by the frame).
320 // frame).
321 void Push(Result* result); 320 void Push(Result* result);
322 321
323 // Nip removes zero or more elements from immediately below the top 322 // Nip removes zero or more elements from immediately below the top
324 // of the frame, leaving the previous top-of-frame value on top of 323 // of the frame, leaving the previous top-of-frame value on top of
325 // the frame. Nip(k) is equivalent to x = Pop(), Drop(k), Push(x). 324 // the frame. Nip(k) is equivalent to x = Pop(), Drop(k), Push(x).
326 void Nip(int num_dropped); 325 void Nip(int num_dropped);
327 326
328 private: 327 private:
329 static const int kLocal0Offset = JavaScriptFrameConstants::kLocal0Offset; 328 static const int kLocal0Offset = JavaScriptFrameConstants::kLocal0Offset;
330 static const int kFunctionOffset = JavaScriptFrameConstants::kFunctionOffset; 329 static const int kFunctionOffset = JavaScriptFrameConstants::kFunctionOffset;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 471
473 bool Equals(VirtualFrame* other); 472 bool Equals(VirtualFrame* other);
474 473
475 friend class JumpTarget; 474 friend class JumpTarget;
476 }; 475 };
477 476
478 477
479 } } // namespace v8::internal 478 } } // namespace v8::internal
480 479
481 #endif // V8_VIRTUAL_FRAME_ARM_H_ 480 #endif // V8_VIRTUAL_FRAME_ARM_H_
OLDNEW
« no previous file with comments | « src/virtual-frame.cc ('k') | src/virtual-frame-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698