summaryrefslogtreecommitdiffstats
path: root/V8Binding/v8/src/x64/codegen-x64-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'V8Binding/v8/src/x64/codegen-x64-inl.h')
-rw-r--r--V8Binding/v8/src/x64/codegen-x64-inl.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/V8Binding/v8/src/x64/codegen-x64-inl.h b/V8Binding/v8/src/x64/codegen-x64-inl.h
index 0d5b0e2..6869fc9 100644
--- a/V8Binding/v8/src/x64/codegen-x64-inl.h
+++ b/V8Binding/v8/src/x64/codegen-x64-inl.h
@@ -32,10 +32,24 @@
namespace v8 {
namespace internal {
+#define __ ACCESS_MASM(masm_)
+
// Platform-specific inline functions.
-void DeferredCode::Jump() { UNIMPLEMENTED(); }
-void DeferredCode::Branch(Condition cc) { UNIMPLEMENTED(); }
+void DeferredCode::Jump() { __ jmp(&entry_label_); }
+void DeferredCode::Branch(Condition cc) { __ j(cc, &entry_label_); }
+
+
+void CodeGenerator::GenerateMathSin(ZoneList<Expression*>* args) {
+ GenerateFastMathOp(SIN, args);
+}
+
+
+void CodeGenerator::GenerateMathCos(ZoneList<Expression*>* args) {
+ GenerateFastMathOp(COS, args);
+}
+
+#undef __
} } // namespace v8::internal