summaryrefslogtreecommitdiff
path: root/deps/v8/src/x64/lithium-codegen-x64.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-02-24 13:14:59 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-02-24 13:14:59 -0800
commite33e7d1a3712add02cd08c0069bb56ba76e49aa5 (patch)
tree3cd8937acf1e3b27a265e42bf3d42241d51f6c1a /deps/v8/src/x64/lithium-codegen-x64.h
parent2680522d3a71fb5f12aa052555f3d04806338821 (diff)
downloadnode-new-e33e7d1a3712add02cd08c0069bb56ba76e49aa5.tar.gz
Upgrade V8 to 3.1.6
Diffstat (limited to 'deps/v8/src/x64/lithium-codegen-x64.h')
-rw-r--r--deps/v8/src/x64/lithium-codegen-x64.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/deps/v8/src/x64/lithium-codegen-x64.h b/deps/v8/src/x64/lithium-codegen-x64.h
index 6f8f06e345..52409f207b 100644
--- a/deps/v8/src/x64/lithium-codegen-x64.h
+++ b/deps/v8/src/x64/lithium-codegen-x64.h
@@ -90,8 +90,8 @@ class LCodeGen BASE_EMBEDDED {
void DoDeferredTaggedToI(LTaggedToI* instr);
void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr);
void DoDeferredStackCheck(LGoto* instr);
- void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
- Label* map_check);
+ void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
+ void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr);
// Parallel move support.
void DoParallelMove(LParallelMove* move);
@@ -117,6 +117,10 @@ class LCodeGen BASE_EMBEDDED {
bool is_done() const { return status_ == DONE; }
bool is_aborted() const { return status_ == ABORTED; }
+ int strict_mode_flag() const {
+ return info_->is_strict() ? kStrictMode : kNonStrictMode;
+ }
+
LChunk* chunk() const { return chunk_; }
Scope* scope() const { return scope_; }
HGraph* graph() const { return chunk_->graph(); }
@@ -197,6 +201,7 @@ class LCodeGen BASE_EMBEDDED {
int arguments,
int deoptimization_index);
void RecordSafepoint(LPointerMap* pointers, int deoptimization_index);
+ void RecordSafepoint(int deoptimization_index);
void RecordSafepointWithRegisters(LPointerMap* pointers,
int arguments,
int deoptimization_index);
@@ -225,6 +230,9 @@ class LCodeGen BASE_EMBEDDED {
// Caller should branch on equal condition.
void EmitIsConstructCall(Register temp);
+ // Emits code for pushing a constant operand.
+ void EmitPushConstantOperand(LOperand* operand);
+
LChunk* const chunk_;
MacroAssembler* const masm_;
CompilationInfo* const info_;