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

Side by Side Diff: src/objects.cc

Issue 20680002: Rebase of partial ia32 implementation of optimized try/catch (started by Kevin Millikin, continued … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix detection of CATCH frames (fixes debuger exception reporting anf breaks another assertion...). Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 10402 matching lines...) Expand 10 before | Expand all | Expand 10 after
10413 10413
10414 switch (opcode) { 10414 switch (opcode) {
10415 case Translation::BEGIN: 10415 case Translation::BEGIN:
10416 UNREACHABLE(); 10416 UNREACHABLE();
10417 break; 10417 break;
10418 10418
10419 case Translation::JS_FRAME: { 10419 case Translation::JS_FRAME: {
10420 int ast_id = iterator.Next(); 10420 int ast_id = iterator.Next();
10421 int function_id = iterator.Next(); 10421 int function_id = iterator.Next();
10422 unsigned height = iterator.Next(); 10422 unsigned height = iterator.Next();
10423 int handler_count = iterator.Next();
10423 PrintF(out, "{ast_id=%d, function=", ast_id); 10424 PrintF(out, "{ast_id=%d, function=", ast_id);
10424 if (function_id != Translation::kSelfLiteralId) { 10425 if (function_id != Translation::kSelfLiteralId) {
10425 Object* function = LiteralArray()->get(function_id); 10426 Object* function = LiteralArray()->get(function_id);
10426 JSFunction::cast(function)->PrintName(out); 10427 JSFunction::cast(function)->PrintName(out);
10427 } else { 10428 } else {
10428 PrintF(out, "<self>"); 10429 PrintF(out, "<self>");
10429 } 10430 }
10430 PrintF(out, ", height=%u}", height); 10431 PrintF(out, ", height=%u, handlers=%d}", height, handler_count);
10431 break; 10432 break;
10432 } 10433 }
10433 10434
10434 case Translation::COMPILED_STUB_FRAME: { 10435 case Translation::COMPILED_STUB_FRAME: {
10435 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); 10436 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next());
10436 PrintF(out, "{kind=%d}", stub_kind); 10437 PrintF(out, "{kind=%d}", stub_kind);
10437 break; 10438 break;
10438 } 10439 }
10439 10440
10440 case Translation::ARGUMENTS_ADAPTOR_FRAME: 10441 case Translation::ARGUMENTS_ADAPTOR_FRAME:
(...skipping 5326 matching lines...) Expand 10 before | Expand all | Expand 10 after
15767 return static_cast<Type*>(type_raw()); 15768 return static_cast<Type*>(type_raw());
15768 } 15769 }
15769 15770
15770 15771
15771 void PropertyCell::set_type(Type* type, WriteBarrierMode ignored) { 15772 void PropertyCell::set_type(Type* type, WriteBarrierMode ignored) {
15772 set_type_raw(type, ignored); 15773 set_type_raw(type, ignored);
15773 } 15774 }
15774 15775
15775 15776
15776 } } // namespace v8::internal 15777 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698