Chromium Code Reviews| Index: src/runtime.cc |
| diff --git a/src/runtime.cc b/src/runtime.cc |
| index f772d32d9da2984a88ad6b8a695ecf27bb5e838a..d647e35228c6a5f5a0d685409566ef618434dd7b 100644 |
| --- a/src/runtime.cc |
| +++ b/src/runtime.cc |
| @@ -1,4 +1,3 @@ |
| -// Copyright 2006-2009 the V8 project authors. All rights reserved. |
|
Lasse Reichstein
2009/09/04 10:52:15
Woops, added back in.
|
| // Redistribution and use in source and binary forms, with or without |
| // modification, are permitted provided that the following conditions are |
| // met: |
| @@ -4612,7 +4611,7 @@ static JSObject* ComputeReceiverForNonGlobal(JSObject* holder) { |
| static ObjectPair LoadContextSlotHelper(Arguments args, bool throw_error) { |
| HandleScope scope; |
| - ASSERT(args.length() == 2); |
| + ASSERT_EQ(2, args.length()); |
| if (!args[0]->IsContext() || !args[1]->IsString()) { |
| return MakePair(Top::ThrowIllegalOperation(), NULL); |