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

Side by Side Diff: src/virtual-frame-light.cc

Issue 2452002: ARM: Track Smis on top 4 stack positions and Smi loop variables.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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 18 matching lines...) Expand all
29 29
30 #include "codegen-inl.h" 30 #include "codegen-inl.h"
31 #include "register-allocator-inl.h" 31 #include "register-allocator-inl.h"
32 #include "virtual-frame-inl.h" 32 #include "virtual-frame-inl.h"
33 33
34 namespace v8 { 34 namespace v8 {
35 namespace internal { 35 namespace internal {
36 36
37 void VirtualFrame::Adjust(int count) { 37 void VirtualFrame::Adjust(int count) {
38 ASSERT(count >= 0); 38 ASSERT(count >= 0);
39 element_count_ += count; 39 RaiseHeight(count, 0);
40 } 40 }
41 41
42 42
43 // If there are any registers referenced only by the frame, spill one. 43 // If there are any registers referenced only by the frame, spill one.
44 Register VirtualFrame::SpillAnyRegister() { 44 Register VirtualFrame::SpillAnyRegister() {
45 UNIMPLEMENTED(); 45 UNIMPLEMENTED();
46 return no_reg; 46 return no_reg;
47 } 47 }
48 48
49 49
50 InvalidVirtualFrameInitializer* kInvalidVirtualFrameInitializer = NULL; 50 InvalidVirtualFrameInitializer* kInvalidVirtualFrameInitializer = NULL;
51 51
52 } } // namespace v8::internal 52 } } // namespace v8::internal
OLDNEW
« src/arm/codegen-arm.cc ('K') | « src/type-info.h ('k') | src/virtual-frame-light-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698