Version 3.25.24 (based on bleeding_edge revision r20219)
Add support for per-isolate private symbols.
No longer OOM on invalid string length (issue 3060).
Remove Failure::OutOfMemory propagation and V8::IgnoreOutOfMemoryException (issue 3060).
Tentative Windows dll build fix: Don't V8_EXPORT ScriptCompiler::Source (issue 3228).
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@20220 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index 2170b84..0229c74 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -883,7 +883,7 @@
}
}
#else
- CodeGenerator::RecordPositions(masm_, pos);
+ CodeGenerator::RecordPositions(masm_, expr->position());
#endif
}
@@ -980,6 +980,31 @@
}
+void FullCodeGenerator::EmitTypedArrayInitialize(CallRuntime* expr) {
+ ZoneList<Expression*>* args = expr->arguments();
+ ASSERT(args->length() == 5);
+ for (int i = 0; i < 5; i++) VisitForStackValue(args->at(i));
+ masm()->CallRuntime(Runtime::kTypedArrayInitialize, 5);
+ context()->Plug(result_register());
+}
+
+
+void FullCodeGenerator::EmitDataViewInitialize(CallRuntime* expr) {
+ ZoneList<Expression*>* args = expr->arguments();
+ ASSERT(args->length() == 4);
+ for (int i = 0; i < 4; i++) VisitForStackValue(args->at(i));
+ masm()->CallRuntime(Runtime::kDataViewInitialize, 4);
+ context()->Plug(result_register());
+}
+
+
+void FullCodeGenerator::EmitMaxSmi(CallRuntime* expr) {
+ ASSERT(expr->arguments()->length() == 0);
+ masm()->CallRuntime(Runtime::kMaxSmi, 0);
+ context()->Plug(result_register());
+}
+
+
void FullCodeGenerator::VisitBinaryOperation(BinaryOperation* expr) {
switch (expr->op()) {
case Token::COMMA: