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

Unified Diff: src/jump-target-light.cc

Issue 2087009: Custom call IC-s for String.prototype.{charAt,charCodeAt}. (Closed)
Patch Set: ARM port. Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
« src/codegen.h ('K') | « src/jump-target-heavy.cc ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jump-target-light.cc
diff --git a/src/jump-target-light.cc b/src/jump-target-light.cc
index 76c3cb7f6b667c9b510086a1606cede981dc5fc8..308e3db441c6d8db3708caa79ac67d367624f02b 100644
--- a/src/jump-target-light.cc
+++ b/src/jump-target-light.cc
@@ -34,16 +34,24 @@ namespace v8 {
namespace internal {
+FrameRegisterState::FrameRegisterState(VirtualFrame* frame) {
+ // Nothing to do when register allocation is not supported.
+ ASSERT(RegisterAllocator::kNumRegisters == 0);
+}
+
+
DeferredCode::DeferredCode()
: masm_(CodeGeneratorScope::Current()->masm()),
statement_position_(masm_->current_statement_position()),
- position_(masm_->current_position()) {
+ position_(masm_->current_position()),
+ frame_state_(CodeGeneratorScope::Current()->frame()) {
ASSERT(statement_position_ != RelocInfo::kNoPosition);
ASSERT(position_ != RelocInfo::kNoPosition);
CodeGeneratorScope::Current()->AddDeferred(this);
#ifdef DEBUG
+ comment_ = "";
CodeGeneratorScope::Current()->frame()->AssertIsSpilled();
#endif
}
« src/codegen.h ('K') | « src/jump-target-heavy.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698