Reviewers: danno, Jakob, Paul Lind, palfia, kisg, dcarney,

Description:
MIPS: thread isolate for files starting with 'b' and 'c'.

Port r16489 (bde75fe)

BUG=


Please review this at https://codereview.chromium.org/23814003/

SVN Base: https://github.com/v8/v8.git@gbl

Affected files:
  M src/mips/codegen-mips.h
  M src/mips/full-codegen-mips.cc


Index: src/mips/codegen-mips.h
diff --git a/src/mips/codegen-mips.h b/src/mips/codegen-mips.h
index 950df21d307ef8be3994186706d69dfbd6df3e5a..32d7d0d65c7135a41eb145e64bf960687578c0a1 100644
--- a/src/mips/codegen-mips.h
+++ b/src/mips/codegen-mips.h
@@ -63,7 +63,7 @@ class CodeGenerator: public AstVisitor {
   // Print the code after compiling it.
   static void PrintCode(Handle<Code> code, CompilationInfo* info);

-  static bool ShouldGenerateLog(Expression* type);
+  static bool ShouldGenerateLog(Isolate* isolate, Expression* type);

   static void SetFunctionInfo(Handle<JSFunction> fun,
                               FunctionLiteral* lit,
Index: src/mips/full-codegen-mips.cc
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
index 37d6bcff8606928ef12ce7504d4482c645d6606d..bf6f1c82e4a8a1b9d530241b3d115acebbff6147 100644
--- a/src/mips/full-codegen-mips.cc
+++ b/src/mips/full-codegen-mips.cc
@@ -3331,7 +3331,7 @@ void FullCodeGenerator::EmitLog(CallRuntime* expr) {
   //   2 (array): Arguments to the format string.
   ZoneList<Expression*>* args = expr->arguments();
   ASSERT_EQ(args->length(), 3);
-  if (CodeGenerator::ShouldGenerateLog(args->at(0))) {
+  if (CodeGenerator::ShouldGenerateLog(isolate(), args->at(0))) {
     VisitForStackValue(args->at(1));
     VisitForStackValue(args->at(2));
     __ CallRuntime(Runtime::kLog, 2);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to